Skip to content

Commit dc6a8bb

Browse files
authored
fix(actions): add more permissions for sem release
fix(actions): add more permissions for sem release
2 parents f13d064 + 78d9b01 commit dc6a8bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/masterandtag.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99

1010
build:
11+
permissions:
12+
contents: write
13+
issues: write
14+
pull-requests: write
1115
runs-on: ubuntu-latest
1216

1317
steps:
@@ -29,7 +33,7 @@ jobs:
2933
# Semantic Tag
3034
- name: Release
3135
env:
32-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3337
run: |
3438
yarn add @semantic-release/github --dev
3539
npx semantic-release

0 commit comments

Comments
 (0)