Skip to content

Commit 78fc04b

Browse files
committed
ci: Use permissions and regular GitHub token instead of PAT
1 parent 43625a9 commit 78fc04b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
jobs:
1111
release:
1212
name: Release
13+
permissions:
14+
contents: write
15+
packages: write
1316
runs-on: ubuntu-latest
1417
steps:
1518
- name: Checkout
@@ -46,5 +49,5 @@ jobs:
4649

4750
- name: Release
4851
env:
49-
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5053
run: npm exec semantic-release

0 commit comments

Comments
 (0)