Skip to content

Commit 2f4fceb

Browse files
committed
Update GitHub Actions to use checkout@v5 across workflows and documentation
1 parent ba9c97f commit 2f4fceb

13 files changed

Lines changed: 96 additions & 17 deletions

File tree

.github/agents/technical-doc-writer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You apply user-research–backed best practices to ensure clarity, discoverabili
5454
build:
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@v5
5858
- uses: my-org/my-action@v1
5959
```
6060
- Do **not** include `$` prompts.
@@ -114,7 +114,7 @@ jobs:
114114
build:
115115
runs-on: ubuntu-latest
116116
steps:
117-
- uses: actions/checkout@v4
117+
- uses: actions/checkout@v5
118118
- uses: my-org/my-action@v1
119119
```
120120

.github/aw/actions-lock.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"version": "v1",
66
"sha": "b81b2afb8390ee6839b494a404766bef6493c7d9"
77
},
8+
"actions/cache@v4": {
9+
"repo": "actions/cache",
10+
"version": "v4",
11+
"sha": "0057852bfaa89a56745cba8c7296529d2fc39830"
12+
},
813
"actions/checkout@v5": {
914
"repo": "actions/checkout",
1015
"version": "v5",
@@ -15,6 +20,11 @@
1520
"version": "v4",
1621
"sha": "d3f86a106a0bac45b974a628896c90dbdf5c8093"
1722
},
23+
"actions/download-artifact@v6": {
24+
"repo": "actions/download-artifact",
25+
"version": "v6",
26+
"sha": "018cc2cf5baa6db3ef3c5f8a56943fffe632ef53"
27+
},
1828
"actions/github-script@v8": {
1929
"repo": "actions/github-script",
2030
"version": "v8",
@@ -35,6 +45,11 @@
3545
"version": "v6",
3646
"sha": "2028fbc5c25fe9cf00d9f06a71cc4710d4507903"
3747
},
48+
"actions/setup-python@v5": {
49+
"repo": "actions/setup-python",
50+
"version": "v5",
51+
"sha": "a26af69be951a213d495a4c3e4e4022e16d87065"
52+
},
3853
"actions/upload-artifact@v4": {
3954
"repo": "actions/upload-artifact",
4055
"version": "v4",
@@ -45,6 +60,11 @@
4560
"version": "v5",
4661
"sha": "330a01c490aca151604b8cf639adc76d48f6c5d4"
4762
},
63+
"astral-sh/setup-uv@v5": {
64+
"repo": "astral-sh/setup-uv",
65+
"version": "v5",
66+
"sha": "e58605a9b6da7c637471fab8847a5e5a6b8df081"
67+
},
4868
"super-linter/super-linter/slim@v8": {
4969
"repo": "super-linter/super-linter/slim",
5070
"version": "v8",

.github/copilot/instructions/ci-performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ jobs:
331331
run: expensive-command # BAD - should be conditional
332332
333333
# Don't use inefficient checkout
334-
- uses: actions/checkout@v4
334+
- uses: actions/checkout@v5
335335
with:
336336
fetch-depth: 0 # BAD - slow, usually not needed
337337
```

.github/instructions/developer.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ Supply chain attacks target dependencies in CI/CD pipelines.
499499
**Insecure:**
500500
```yaml
501501
steps:
502-
- uses: actions/checkout@v4 # Tag can be moved
502+
- uses: actions/checkout@v5 # Tag can be moved
503503
- uses: actions/setup-node@main # Branch can be updated
504504
```
505505

.github/workflows/shared/mcp-debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ safe-outputs:
2121
pull-requests: write
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525
- name: Post diagnostic report to pull request
2626
uses: actions/github-script@v8
2727
with:

.github/workflows/technical-doc-writer.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.

docs/src/content/docs/reference/frontmatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ jobs:
355355
super_linter:
356356
runs-on: ubuntu-latest
357357
steps:
358-
- uses: actions/checkout@v4
358+
- uses: actions/checkout@v5
359359
- name: Run Super-Linter
360360
uses: super-linter/super-linter@v7
361361
env:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"entries": {
3+
"actions/ai-inference@v1": {
4+
"repo": "actions/ai-inference",
5+
"version": "v1",
6+
"sha": "b81b2afb8390ee6839b494a404766bef6493c7d9"
7+
},
8+
"actions/checkout@v5": {
9+
"repo": "actions/checkout",
10+
"version": "v5",
11+
"sha": "08c6903cd8c0fde910a37f88322edcfb5dd907a8"
12+
},
13+
"actions/download-artifact@v4": {
14+
"repo": "actions/download-artifact",
15+
"version": "v4",
16+
"sha": "d3f86a106a0bac45b974a628896c90dbdf5c8093"
17+
},
18+
"actions/github-script@v8": {
19+
"repo": "actions/github-script",
20+
"version": "v8",
21+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
22+
},
23+
"actions/setup-go@v5": {
24+
"repo": "actions/setup-go",
25+
"version": "v5",
26+
"sha": "d35c59abb061a4a6fb18e82ac0862c26744d6ab5"
27+
},
28+
"actions/setup-node@v6": {
29+
"repo": "actions/setup-node",
30+
"version": "v6",
31+
"sha": "2028fbc5c25fe9cf00d9f06a71cc4710d4507903"
32+
},
33+
"actions/upload-artifact@v4": {
34+
"repo": "actions/upload-artifact",
35+
"version": "v4",
36+
"sha": "ea165f8d65b6e75b540449e92b4886f43607fa02"
37+
},
38+
"actions/upload-artifact@v5": {
39+
"repo": "actions/upload-artifact",
40+
"version": "v5",
41+
"sha": "330a01c490aca151604b8cf639adc76d48f6c5d4"
42+
},
43+
"super-linter/super-linter@v8.2.1": {
44+
"repo": "super-linter/super-linter",
45+
"version": "v8.2.1",
46+
"sha": "2bdd90ed3262e023ac84bf8fe35dc480721fc1f2"
47+
}
48+
}
49+
}

pkg/cli/trial_command_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,14 @@ steps:
195195
inputContent: `---
196196
steps:
197197
- name: Checkout
198-
uses: actions/checkout@v4
198+
uses: actions/checkout@v5
199199
- name: Build
200200
run: make build
201201
---`,
202202
expectedContent: `---
203203
steps:
204204
- name: Checkout
205-
uses: actions/checkout@v4
205+
uses: actions/checkout@v5
206206
with:
207207
repository: owner/repo
208208
- name: Build
@@ -241,7 +241,7 @@ steps:
241241
run: echo "between checkouts"
242242
243243
- name: Checkout different version
244-
uses: actions/checkout@v4
244+
uses: actions/checkout@v5
245245
---`,
246246
expectedContent: `---
247247
steps:
@@ -254,7 +254,7 @@ steps:
254254
run: echo "between checkouts"
255255
256256
- name: Checkout different version
257-
uses: actions/checkout@v4
257+
uses: actions/checkout@v5
258258
with:
259259
repository: multi/repo
260260
---`,

pkg/workflow/.github/aw/actions-lock.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
"version": "v1",
66
"sha": "b81b2afb8390ee6839b494a404766bef6493c7d9"
77
},
8+
"actions/checkout@v4": {
9+
"repo": "actions/checkout",
10+
"version": "v4",
11+
"sha": "08eba0b27e820071cde6df949e0beb9ba4906955"
12+
},
13+
"actions/setup-node@v4": {
14+
"repo": "actions/setup-node",
15+
"version": "v4",
16+
"sha": "49933ea5288caeca8642d1e84afbd3f7d6820020"
17+
},
818
"actions/setup-node@v6": {
919
"repo": "actions/setup-node",
1020
"version": "v6",

0 commit comments

Comments
 (0)