Skip to content

Commit

Permalink
Add permission to benchmark CI (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 authored Dec 13, 2024
1 parent 1829fd1 commit 89d03ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- master
workflow_dispatch:

permissions:
contents: write
pull-requests: write
repository-projects: write

jobs:
benchmark:
strategy:
Expand Down Expand Up @@ -59,6 +64,8 @@ jobs:
needs: benchmark
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
permissions:
pull-requests: write

steps:
- name: Download all benchmark results
Expand Down

0 comments on commit 89d03ac

Please sign in to comment.