Skip to content

Commit 71dc0e8

Browse files
authored
ci: fix workflow (#31)
1 parent 3fb62d2 commit 71dc0e8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ on:
55
- main
66

77
permissions:
8-
contents: write # to be able to publish a GitHub release
9-
issues: write # to be able to comment on released issues
10-
pull-requests: write # to be able to comment on released pull requests
11-
id-token: write # to enable use of OIDC for npm provenance
12-
pages: write # to deploy to Pages
13-
actions: read # to read workflow artifacts
14-
8+
contents: read
159

1610
concurrency:
1711
group: ${{ github.workflow }}-${{ github.ref }}
@@ -21,6 +15,11 @@ jobs:
2115
release:
2216
name: Release
2317
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
20+
issues: write
21+
pull-requests: write
22+
id-token: write
2423
steps:
2524
- uses: actions/checkout@v4
2625
with:
@@ -58,6 +57,10 @@ jobs:
5857
playground:
5958
name: Playground
6059
runs-on: ubuntu-latest
60+
permissions:
61+
contents: read
62+
pages: write
63+
id-token: write
6164
needs: release
6265
if: github.ref == 'refs/heads/main'
6366

0 commit comments

Comments
 (0)