Skip to content

Commit bf9ea8a

Browse files
committed
Use Node 24 GitHub action versions
1 parent c41b3a8 commit bf9ea8a

7 files changed

Lines changed: 20 additions & 20 deletions

.github/workflows/cpflow-cleanup-stale-review-apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 30
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
persist-credentials: false
2828

.github/workflows/cpflow-delete-review-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# the trust boundary. All local composite actions below are therefore loaded from
5050
# trusted base-branch code; keep them that way when changing this workflow.
5151
- name: Checkout repository
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5353
with:
5454
# Delete only invokes `cpln`/`cpflow`; no git push happens, so drop the
5555
# GITHUB_TOKEN credential helper to keep the token out of .git/config under
@@ -81,7 +81,7 @@ jobs:
8181

8282
- name: Set workflow links
8383
if: steps.config.outputs.ready == 'true'
84-
uses: actions/github-script@v7
84+
uses: actions/github-script@v8
8585
with:
8686
script: |
8787
const workflowUrl = `${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
@@ -94,7 +94,7 @@ jobs:
9494
- name: Create initial PR comment
9595
if: steps.config.outputs.ready == 'true'
9696
id: create-comment
97-
uses: actions/github-script@v7
97+
uses: actions/github-script@v8
9898
with:
9999
script: |
100100
const comment = await github.rest.issues.createComment({
@@ -115,7 +115,7 @@ jobs:
115115

116116
- name: Finalize delete status
117117
if: always() && steps.config.outputs.ready == 'true'
118-
uses: actions/github-script@v7
118+
uses: actions/github-script@v8
119119
with:
120120
script: |
121121
const commentId = Number("${{ steps.create-comment.outputs.comment-id }}");

.github/workflows/cpflow-deploy-review-app.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Checkout trusted workflow sources
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656
with:
5757
# Keep generated composite actions on the trusted base branch. The PR
5858
# application code is checked out separately under ./app after source
@@ -166,7 +166,7 @@ jobs:
166166
167167
- name: Checkout PR commit
168168
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true'
169-
uses: actions/checkout@v4
169+
uses: actions/checkout@v6
170170
with:
171171
ref: ${{ env.PR_SHA }}
172172
path: app
@@ -253,7 +253,7 @@ jobs:
253253
- name: Create initial PR comment
254254
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
255255
id: create-comment
256-
uses: actions/github-script@v7
256+
uses: actions/github-script@v8
257257
with:
258258
script: |
259259
const result = await github.rest.issues.createComment({
@@ -266,7 +266,7 @@ jobs:
266266
267267
- name: Set deployment links
268268
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
269-
uses: actions/github-script@v7
269+
uses: actions/github-script@v8
270270
with:
271271
script: |
272272
const workflowUrl = `${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
@@ -279,7 +279,7 @@ jobs:
279279
- name: Initialize GitHub deployment
280280
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
281281
id: init-deployment
282-
uses: actions/github-script@v7
282+
uses: actions/github-script@v8
283283
with:
284284
script: |
285285
const deployment = await github.rest.repos.createDeployment({
@@ -304,7 +304,7 @@ jobs:
304304
305305
- name: Update PR comment with build status
306306
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
307-
uses: actions/github-script@v7
307+
uses: actions/github-script@v8
308308
with:
309309
script: |
310310
const commentId = Number("${{ steps.create-comment.outputs.comment-id }}");
@@ -343,7 +343,7 @@ jobs:
343343

344344
- name: Update PR comment with deploy status
345345
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
346-
uses: actions/github-script@v7
346+
uses: actions/github-script@v8
347347
with:
348348
script: |
349349
const commentId = Number("${{ steps.create-comment.outputs.comment-id }}");
@@ -397,7 +397,7 @@ jobs:
397397
398398
- name: Finalize deployment status
399399
if: always() && steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
400-
uses: actions/github-script@v7
400+
uses: actions/github-script@v8
401401
with:
402402
script: |
403403
const commentId = Number("${{ steps.create-comment.outputs.comment-id }}");

.github/workflows/cpflow-deploy-staging.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
- name: Checkout repository
5757
if: steps.check-branch.outputs.is_deployable == 'true'
58-
uses: actions/checkout@v4
58+
uses: actions/checkout@v6
5959

6060
- name: Validate required secrets and variables
6161
if: steps.check-branch.outputs.is_deployable == 'true'
@@ -77,7 +77,7 @@ jobs:
7777
timeout-minutes: 30
7878
steps:
7979
- name: Checkout repository
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v6
8181
with:
8282
persist-credentials: false
8383

@@ -106,7 +106,7 @@ jobs:
106106
timeout-minutes: 30
107107
steps:
108108
- name: Checkout repository
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@v6
110110
with:
111111
persist-credentials: false
112112

.github/workflows/cpflow-help-command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737
with:
3838
# Help only reads `.github/cpflow-help.md`; no git push happens, so drop the
3939
# GITHUB_TOKEN credential helper to keep the token out of .git/config.
4040
persist-credentials: false
4141

4242
- name: Post help message
43-
uses: actions/github-script@v7
43+
uses: actions/github-script@v8
4444
with:
4545
script: |
4646
const fs = require("fs");

.github/workflows/cpflow-promote-staging-to-production.yml

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

5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656
with:
5757
persist-credentials: false
5858

.github/workflows/cpflow-review-app-help.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 5
2323
steps:
2424
- name: Post quick reference
25-
uses: actions/github-script@v7
25+
uses: actions/github-script@v8
2626
with:
2727
script: |
2828
const body = [

0 commit comments

Comments
 (0)