From 93520c341384648fa67e5cd266abf83f04bf4528 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 14:20:58 +0000 Subject: [PATCH] Nightly: publish with DMODEM_BUMP_TOKEN The GITHUB_TOKEN of the workflow deleted the nightly release, then got HTTP 403 (Resource not accessible by integration) when it made the release again (run 45212602781). The Publish step now uses the DMODEM_BUMP_TOKEN organization secret if it is available. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B82eRSE9B8aAKiw3a5VpMx --- .github/workflows/nightly.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 009e419..1ec3979 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -91,6 +91,13 @@ jobs: fi } > notes.md + # The GITHUB_TOKEN of this workflow can delete the release but gets + # "HTTP 403: Resource not accessible by integration" when it creates + # the release. Thus the step uses the DMODEM_BUMP_TOKEN organization + # secret (Contents: read and write on D-Modem/gui, refer to + # d-modem-bump.yml) if it is available. - name: Publish if: steps.pick.outputs.skip == 'false' + env: + GH_TOKEN: ${{ secrets.DMODEM_BUMP_TOKEN || github.token }} run: .github/scripts/nightly-publish.sh "${{ steps.pick.outputs.sha }}" notes.md out