Skip to content

Commit cd3439a

Browse files
authored
Update Checkout to v7 (#527)
v4 triggers warnings of the form: > Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> kkarrenn@: bypassing the Test/credentials_json checks as they require service account key rotation and not relevant to this change. Gave up attempting to rotate the keys - they're needed for testing only IIUC.
1 parent fc21748 commit cd3439a

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: 'Checkout'
19-
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
19+
uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
2020

2121
- name: 'Publish'
2222
id: 'publish'

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: 'ubuntu-latest'
4444

4545
steps:
46-
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
46+
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
4747

4848
- uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
4949
with:
@@ -76,7 +76,7 @@ jobs:
7676
id-token: 'write'
7777

7878
steps:
79-
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
79+
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
8080

8181
- uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
8282
with:
@@ -130,7 +130,7 @@ jobs:
130130
id-token: 'write'
131131

132132
steps:
133-
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
133+
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
134134

135135
- uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
136136
with:
@@ -199,7 +199,7 @@ jobs:
199199
- 'macos-latest'
200200

201201
steps:
202-
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
202+
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
203203

204204
- uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
205205
with:
@@ -261,7 +261,7 @@ jobs:
261261
strategy:
262262
fail-fast: false
263263
steps:
264-
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
264+
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # ratchet:actions/checkout@v7.0.0
265265

266266
- uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
267267
with:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ support](https://cloud.google.com/support).**
2626

2727
## Prerequisites
2828

29-
- Run the `actions/checkout@v4` step _before_ this action. Omitting the
29+
- Run the `actions/checkout@v7` step _before_ this action. Omitting the
3030
checkout step or putting it after `auth` will cause future steps to be
3131
unable to authenticate.
3232

@@ -58,7 +58,7 @@ jobs:
5858
id-token: 'write'
5959
6060
steps:
61-
- uses: 'actions/checkout@v4'
61+
- uses: 'actions/checkout@v7'
6262
6363
- uses: 'google-github-actions/auth@v3'
6464
with:
@@ -248,7 +248,7 @@ regardless of the authentication mechanism.
248248
jobs:
249249
job_id:
250250
steps:
251-
- uses: 'actions/checkout@v4' # Must come first!
251+
- uses: 'actions/checkout@v7' # Must come first!
252252
- uses: 'google-github-actions/auth@v3'
253253
```
254254

docs/EXAMPLES.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ value into a GitHub Secret named 'GOOGLE_CREDENTIALS'.
7777
jobs:
7878
job_id:
7979
steps:
80-
- uses: 'actions/checkout@v4'
80+
- uses: 'actions/checkout@v7'
8181

8282
- uses: 'google-github-actions/auth@v3'
8383
with:
@@ -97,7 +97,7 @@ jobs:
9797
id-token: 'write'
9898
9999
steps:
100-
- uses: 'actions/checkout@v4'
100+
- uses: 'actions/checkout@v7'
101101
102102
- id: 'auth'
103103
uses: 'google-github-actions/auth@v3'
@@ -133,7 +133,7 @@ jobs:
133133
id-token: 'write'
134134
135135
steps:
136-
- uses: 'actions/checkout@v4'
136+
- uses: 'actions/checkout@v7'
137137
138138
- id: 'auth'
139139
uses: 'google-github-actions/auth@v3'
@@ -170,7 +170,7 @@ jobs:
170170
id-token: 'write'
171171
172172
steps:
173-
- uses: 'actions/checkout@v4'
173+
- uses: 'actions/checkout@v7'
174174
175175
- id: 'auth'
176176
uses: 'google-github-actions/auth@v3'
@@ -220,7 +220,7 @@ jobs:
220220
id-token: 'write'
221221
222222
steps:
223-
- uses: 'actions/checkout@v4'
223+
- uses: 'actions/checkout@v7'
224224
225225
- id: 'auth'
226226
uses: 'google-github-actions/auth@v3'

docs/TROUBLESHOOTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
to these resources are eventually consistent. Usually they happen
2222
immediately, but sometimes they can take up to 5 minutes to propagate.
2323

24-
1. Ensure `actions/checkout@v4` is **before** the `auth` action in your
24+
1. Ensure `actions/checkout@v7` is **before** the `auth` action in your
2525
workflow.
2626

2727
```yaml
2828
steps:
29-
- uses: 'actions/checkout@v4'
29+
- uses: 'actions/checkout@v7'
3030
- uses: 'google-github-actions/auth@v3'
3131
```
3232

0 commit comments

Comments
 (0)