Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 4a358e8

Browse files
fix permissions on release script (#313)
1 parent 5289de0 commit 4a358e8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
release:
55
types:
66
- created
7+
permissions:
8+
contents: write
9+
checks: write
10+
actions: read
11+
issues: read
12+
packages: write
13+
pull-requests: read
14+
repository-projects: read
15+
statuses: read
716

817
jobs:
918
generate:
@@ -40,6 +49,6 @@ jobs:
4049
- name: Upload build-artifacts
4150
uses: alexellis/[email protected]
4251
env:
43-
GITHUB_TOKEN: ${{ secrets.GENERATE_ARTIFACTS_TOKEN }}
52+
GITHUB_TOKEN: ${{ github.token }}
4453
with:
4554
asset_paths: '["dist/*"]'

0 commit comments

Comments
 (0)