From c5bc48da1fd4af1a08e63546ecc6876a7dd1824b 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: Sun, 5 Apr 2026 20:31:17 +0800 Subject: [PATCH] Remove NAPCAT_BUILD token from workflow Remove the explicit `token: ${{ secrets.NAPCAT_BUILD }}` line from the release-publish GitHub Actions workflow. This stops passing the custom NAPCAT_BUILD secret to the release step, allowing the action to use the default authentication mechanism or another configured token and reducing exposure of the custom secret. --- .github/workflows/release-publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index a8e171bf..7368b743 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -406,7 +406,6 @@ jobs: with: tag_name: ${{ inputs.version }} name: NapCat ${{ inputs.version }} - token: ${{ secrets.NAPCAT_BUILD }} body_path: CHANGELOG.md files: | NapCat.Shell.Windows.Node.zip