Use GITHUB_TOKEN for downstream trigger

Replace secrets.NAPCAT_BUILD with the built-in secrets.GITHUB_TOKEN in the release-publish workflow to authenticate triggering downstream release workflows. This removes dependency on a custom secret and uses the repo-scoped Actions token for simpler, more secure automation.
This commit is contained in:
手瓜一十雪 committed 2026-03-14 12:51:00 +08:00
1 parent d61433f2a4
commit de1052f034
1 file changed
+1 -1
+1 -1
View File
@@ -471,7 +471,7 @@ jobs:
- name: Trigger downstream release workflows
env:
GH_TOKEN: ${{ secrets.NAPCAT_BUILD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ inputs.version }}
run: |
echo "Triggering release-downstream workflow with tag_name=${VERSION}"