Skip to content

Commit c67cd19

Browse files
committed
update checkout
1 parent d6e8049 commit c67cd19

12 files changed

Lines changed: 22 additions & 22 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414

1515
- name: Set up Go
1616
uses: actions/setup-go@v5
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout code
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939

4040
- name: Set up Go
4141
uses: actions/setup-go@v5
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- name: Checkout code
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v5
6868
- name: Set up Node.js
6969
uses: actions/setup-node@v4
7070
with:
@@ -78,7 +78,7 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Checkout code
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v5
8282

8383
- name: Set up Go
8484
uses: actions/setup-go@v5

.github/workflows/integration-test-agentics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Set up Go
2121
uses: actions/setup-go@v5

.github/workflows/issue-triage.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
with:
2121
fetch-depth: 0
2222

@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
with:
4242
fetch-depth: 0
4343

.github/workflows/test-claude.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/test-codex.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/test-proxy.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/weekly-research.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/cli/templates/auto-compile-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
- name: Install gh-aw GitHub CLI extension
1717
run: gh extension install githubnext/gh-aw
1818
- name: Compile agentic workflows

pkg/workflow/compiler.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ func (c *Compiler) buildTaskJob(data *WorkflowData) (*Job, error) {
15671567
var steps []string
15681568

15691569
// Add shallow checkout step to access shared actions
1570-
steps = append(steps, " - uses: actions/checkout@v4\n")
1570+
steps = append(steps, " - uses: actions/checkout@v5\n")
15711571
steps = append(steps, " with:\n")
15721572
steps = append(steps, " sparse-checkout: .github\n")
15731573
steps = append(steps, " fetch-depth: 1\n")
@@ -1625,7 +1625,7 @@ func (c *Compiler) buildAddReactionJob(data *WorkflowData, taskJobCreated bool)
16251625
reactionCondition := buildReactionCondition()
16261626

16271627
var steps []string
1628-
steps = append(steps, " - uses: actions/checkout@v4\n")
1628+
steps = append(steps, " - uses: actions/checkout@v5\n")
16291629
steps = append(steps, " with:\n")
16301630
steps = append(steps, " sparse-checkout: .github\n")
16311631
steps = append(steps, fmt.Sprintf(" - name: Add %s reaction to the triggering item\n", data.AIReaction))
@@ -1768,7 +1768,7 @@ func (c *Compiler) buildCreateOutputPullRequestJob(data *WorkflowData, mainJobNa
17681768

17691769
// Step 2: Checkout repository
17701770
steps = append(steps, " - name: Checkout repository\n")
1771-
steps = append(steps, " uses: actions/checkout@v4\n")
1771+
steps = append(steps, " uses: actions/checkout@v5\n")
17721772
steps = append(steps, " with:\n")
17731773
steps = append(steps, " fetch-depth: 0\n")
17741774

@@ -2110,7 +2110,7 @@ func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowDat
21102110
}
21112111
} else {
21122112
yaml.WriteString(" - name: Checkout repository\n")
2113-
yaml.WriteString(" uses: actions/checkout@v4\n")
2113+
yaml.WriteString(" uses: actions/checkout@v5\n")
21142114
}
21152115

21162116
// Add cache steps if cache configuration is present

0 commit comments

Comments
 (0)