Skip to content

Commit 9d5dd0f

Browse files
Fix: Making use of Personal Access Token in Release GHA to ensure other workflows are triggered accordingly (#3746) (#3747)
1 parent abf1874 commit 9d5dd0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
15+
token: ${{ secrets.RELEASES_TOKEN }}
1516
- name: Setup Node.js
1617
uses: actions/setup-node@v4
1718
with:
@@ -20,6 +21,6 @@ jobs:
2021
run: npm ci
2122
- name: Release
2223
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}
2425
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2526
run: npx semantic-release

0 commit comments

Comments
 (0)