Skip to content

Commit 3444ce6

Browse files
authored
fix: use GITHUB_TOKEN during semantic release (#387)
2 parents 0c75a00 + 1ef209c commit 3444ce6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
semantic-release:
99
name: Release the application
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # Permit release creation
13+
issues: write # Write on released issues
14+
pull-requests: write # Write on released PRs
1115
steps:
1216
- name: Checkout sources
1317
uses: actions/checkout@v4
@@ -22,3 +26,5 @@ jobs:
2226

2327
- name: Run the release
2428
run: npx semantic-release
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)