From c7109e20ad1e26654765d92d71b0e89ad6a6c17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sat, 14 Mar 2026 12:51:00 +0800 Subject: [PATCH] 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. --- .github/workflows/release-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index f562cd1b3..60efd0ba5 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -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}"