From 776cc8cefddc4c9fddbf2efa922add20cc84ede6 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: Thu, 5 Mar 2026 09:16:46 +0800 Subject: [PATCH] Use NAPCAT_BUILD secret for release Switch the release workflow to use the NAPCAT_BUILD secret instead of the default GITHUB_TOKEN. This allows the release job to run with a dedicated token (e.g., with different scopes or credentials) when creating tags, changelogs, and uploading release artifacts. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2376b88a..3a2d8b35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -440,7 +440,7 @@ jobs: with: tag_name: ${{ github.ref_name }} name: NapCat ${{ github.ref_name }} - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.NAPCAT_BUILD }} body_path: CHANGELOG.md files: | NapCat.Shell.Windows.Node.zip