Skip to content

Commit 0917991

Browse files
docs: update GHA examples to use actions/checkout@v6 (anomalyco#6969)
1 parent c6a241e commit 0917991

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ This will walk you through installing the GitHub app, creating the workflow, and
8282
id-token: write
8383
steps:
8484
- name: Checkout repository
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@v6
8686
with:
8787
fetch-depth: 1
8888

packages/opencode/src/cli/cmd/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ jobs:
393393
issues: read
394394
steps:
395395
- name: Checkout repository
396-
uses: actions/checkout@v4
396+
uses: actions/checkout@v6
397397
398398
- name: Run opencode
399399
uses: anomalyco/opencode/github@latest${envStr}

packages/web/src/content/docs/github.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Or you can set it up manually.
5858
id-token: write
5959
steps:
6060
- name: Checkout repository
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v6
6262
with:
6363
fetch-depth: 1
6464

@@ -134,7 +134,7 @@ jobs:
134134
issues: write
135135
steps:
136136
- name: Checkout repository
137-
uses: actions/checkout@v4
137+
uses: actions/checkout@v6
138138
139139
- name: Run OpenCode
140140
uses: anomalyco/opencode/github@latest
@@ -171,7 +171,7 @@ jobs:
171171
pull-requests: read
172172
issues: read
173173
steps:
174-
- uses: actions/checkout@v4
174+
- uses: actions/checkout@v6
175175
- uses: anomalyco/opencode/github@latest
176176
env:
177177
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
@@ -221,7 +221,7 @@ jobs:
221221
return days >= 30;
222222
result-encoding: string
223223
224-
- uses: actions/checkout@v4
224+
- uses: actions/checkout@v6
225225
if: steps.check.outputs.result == 'true'
226226
227227
- uses: anomalyco/opencode/github@latest

0 commit comments

Comments
 (0)