Skip to content

Commit fe0bdae

Browse files
chore: permissions to semantic-release
1 parent bd041e7 commit fe0bdae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main-deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout Code
1515
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
persist-credentials: false
1619

1720
- name: Set Up Node.js
1821
uses: actions/setup-node@v3
@@ -48,5 +51,5 @@ jobs:
4851
- name: Run Semantic Release
4952
env:
5053
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
5255
run: npx semantic-release

0 commit comments

Comments
 (0)