Skip to content

Commit ef6f542

Browse files
authored
fix: permissions in benchmark CI job (#200)
The benchmark CI job is failing in the case of PRs from forked repositories such as #197 and #188 due to a permissions issue. This commit fixes the permissions issue.
1 parent ff7123a commit ef6f542

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
benchmark:
7777
runs-on: ubuntu-latest
7878
needs: build
79+
permissions:
80+
# To allow writing comments to the PR in forked repositorites.
81+
# See https://github.com/thollander/actions-comment-pull-request/issues/181
82+
pull-requests: write
83+
7984
env:
8085
PROJECT_DIR: .
8186
steps:

0 commit comments

Comments
 (0)