Skip to content

Commit 94ea734

Browse files
committed
ci: add write permissions for release workflow
1 parent 5fff5f2 commit 94ea734

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
env:
1212
PLUGIN_NAME: ${{ github.event.repository.name }}
1313

14+
permissions:
15+
contents: write
16+
issues: write
17+
pull-requests: write
18+
1419
jobs:
1520
build:
1621
runs-on: ubuntu-latest
@@ -40,5 +45,3 @@ jobs:
4045
4146
- name: Release
4247
run: npx semantic-release
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)