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:
1 parent
d61433f2a4
commit
de1052f034
1 file changed
+1
-1
@@ -471,7 +471,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Trigger downstream release workflows
|
- name: Trigger downstream release workflows
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.NAPCAT_BUILD }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
run: |
|
run: |
|
||||||
echo "Triggering release-downstream workflow with tag_name=${VERSION}"
|
echo "Triggering release-downstream workflow with tag_name=${VERSION}"
|
||||||
|
|||||||
Reference in new issue
Block a user