Skip to content

Commit 09be372

Browse files
authored
Explicitly allow commenting permissions for CI actions (#1123)
This change adapts to the recent GitHub default token permissions update by allowing our CI actions the right permissions to write back to PRs.
1 parent 0adc1c3 commit 09be372

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ jobs:
150150
runBenchmark:
151151
name: run benchmark
152152
runs-on: ubuntu-latest
153+
permissions:
154+
contents: read
155+
pull-requests: write
153156
steps:
154157
- uses: actions/checkout@v3
155158
- uses: boa-dev/criterion-compare-action@v3
@@ -161,6 +164,9 @@ jobs:
161164
runMemoryProfile:
162165
name: run memory profile
163166
runs-on: ubuntu-latest
167+
permissions:
168+
contents: read
169+
pull-requests: write
164170
steps:
165171
- uses: actions/checkout@v2
166172
with:

0 commit comments

Comments
 (0)