Skip to content

Commit a2f37a8

Browse files
committed
GitHub Actions Check permissions
1 parent 35acd03 commit a2f37a8

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/base_benchmarks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
jobs:
66
benchmark_base_branch:
77
name: Continuous Benchmarking with Bencher
8+
permissions:
9+
checks: write
810
runs-on: ubuntu-latest
911
steps:
1012
- uses: actions/checkout@v4

.github/workflows/fork_pr_benchmarks_closed.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
jobs:
66
archive_fork_pr_branch:
77
name: Archive closed fork PR branch with Bencher
8-
permissions:
9-
pull-requests: write
108
runs-on: ubuntu-latest
119
steps:
1210
- uses: actions/checkout@v4

.github/workflows/pr_benchmarks_closed.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ jobs:
77
name: Archive closed PR branch with Bencher
88
# DO NOT REMOVE: For handling Fork PRs see Pull Requests from Forks
99
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
10-
permissions:
11-
pull-requests: write
1210
runs-on: ubuntu-latest
1311
steps:
1412
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)