Skip to content

Commit

Permalink
Only benchmakr step need write permissions to PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-appdirect committed Apr 16, 2024
1 parent 32d8b13 commit a438069
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ concurrency:
on:
pull_request:

permissions:
pull-requests: write

jobs:
benchmark-pr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,6 +51,8 @@ jobs:
benchmark:
runs-on: ubuntu-latest
needs: [benchmark-pr, benchmark-master]
permissions:
pull-requests: write
steps:
- name: Setup go
uses: actions/setup-go@v5
Expand Down

0 comments on commit a438069

Please sign in to comment.