Skip to content

Commit 776cc8c

Browse files
committed
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.
1 parent 66542ed commit 776cc8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ jobs:
440440
with:
441441
tag_name: ${{ github.ref_name }}
442442
name: NapCat ${{ github.ref_name }}
443-
token: ${{ secrets.GITHUB_TOKEN }}
443+
token: ${{ secrets.NAPCAT_BUILD }}
444444
body_path: CHANGELOG.md
445445
files: |
446446
NapCat.Shell.Windows.Node.zip

0 commit comments

Comments
 (0)