also looking at this
fix(ci): let the benchmark job comment on pull requests
#41
1 file
+10
-0
| @@ -19,6 +19,16 @@ jobs: | ||
| 19 | 19 | name: run |
| 20 | 20 | runs-on: ubuntu-latest |
| 21 | 21 | |
| 22 | # The last step posts the benchmark comparison as a pull request comment, | |
| 23 | # and the default token is read-only, so it failed with "Resource not | |
| 24 | # accessible by integration" — after the build and every benchmark had | |
| 25 | # succeeded. Only pull requests comment, so main pushes stayed green and | |
| 26 | # the job looked healthy. binary-size.yml had the identical bug and was | |
| 27 | # fixed in #22; this workflow was missed. | |
| 28 | permissions: | |
| 29 | contents: read | |
| 30 | pull-requests: write | |
| 31 | ||
| 22 | 32 | steps: |
| 23 | 33 | - uses: actions/checkout@v6 |
| 24 | 34 | with: |