mirror of
https://github.com/D-Modem/gui.git
synced 2026-11-28 14:19:58 -08:00
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:
1 file changed
+7
@@ -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
|
||||
Reference in new issue
Block a user