Skip to content

Commit 39e623d

Browse files
fix: GitHub Actions権限とCheckout設定を修正
1 parent f23cd75 commit 39e623d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@ on:
1111
- ".github/workflows/benchmark.yml"
1212

1313
permissions:
14+
contents: read
1415
issues: write
1516
pull-requests: write
16-
contents: read
17+
actions: read
1718

1819
jobs:
1920
benchmark:
2021
runs-on: ubuntu-latest
21-
permissions:
22-
issues: write
23-
pull-requests: write
24-
contents: read
2522

2623
steps:
2724
- name: Checkout
2825
uses: actions/checkout@v4
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
28+
fetch-depth: 0
29+
ref: ${{ github.head_ref || github.ref }}
2930

3031
- name: Setup Go
3132
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)