fix: use PAT_TOKEN for releases to trigger Discord notifications
- release.yml: Use PAT_TOKEN instead of GITHUB_TOKEN for softprops/action-gh-release so the published event triggers downstream workflows (Discord notification) - discord-release.yml: Add workflow_dispatch trigger for manual re-runs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ name: Discord Release Notification
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
discord-notification:
|
||||
|
||||
@@ -620,7 +620,7 @@ jobs:
|
||||
draft: false
|
||||
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Update README with new version after successful release
|
||||
update-readme:
|
||||
|
||||
Reference in New Issue
Block a user