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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSE9B8aAKiw3a5VpMx
This commit is contained in:
Claude committed 2026-11-24 14:20:58 +00:00
1 parent 37b73c16a9
commit 93520c3413
1 file changed
+7
+7
View File
@@ -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