Skip to content

Commit 04e9acf

Browse files
committed
fix(ci): add pull-requests write permission for benchmark alerts
The benchmark-action needs pull-requests:write to comment on PRs when performance regressions are detected.
1 parent e688c7e commit 04e9acf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ permissions:
1616
deployments: write
1717
# contents permission to update benchmark contents in gh-pages branch
1818
contents: write
19+
# pull-requests permission to comment on PRs with benchmark alerts
20+
pull-requests: write
1921

2022
jobs:
2123
benchmark:

0 commit comments

Comments
 (0)