Skip to content

Commit 6ce990f

Browse files
authored
Merge pull request #478 from pq-code-package/fix-token-permission
Fix Token Permission Again
2 parents 41b272f + 0831b9d commit 6ce990f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/bench.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true
1515

16-
permissions: read-all
16+
permissions:
17+
contents: read
18+
pull-requests: read
1719

1820
jobs:
1921
bench:

.github/workflows/bench_ec2_reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ env:
6868
AMI_UBUNTU_LATEST_X86_64: ami-0e86e20dae9224db8
6969
AMI_UBUNTU_LATEST_AARCH64: ami-096ea6a12ea24a797
7070

71-
permissions: read-all
71+
permissions:
72+
contents: read
73+
pull-requests: read
7274

7375
jobs:
7476
start-ec2-runner:

0 commit comments

Comments
 (0)