Skip to content

Commit 3afab4d

Browse files
committed
Use Node 24 GitHub action versions
1 parent 27feb42 commit 3afab4d

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({
@@ -117,7 +117,7 @@ jobs:
117117
# created the initial PR comment and workflow link env vars it updates.
118118
- name: Finalize delete status
119119
if: always() && steps.config.outputs.ready == 'true'
120-
uses: actions/github-script@v7
120+
uses: actions/github-script@v8
121121
env:
122122
COMMENT_ID: ${{ steps.create-comment.outputs.comment-id }}
123123
JOB_STATUS: ${{ job.status }}

.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
@@ -164,7 +164,7 @@ jobs:
164164
165165
- name: Checkout PR commit
166166
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true'
167-
uses: actions/checkout@v4
167+
uses: actions/checkout@v6
168168
with:
169169
ref: ${{ env.PR_SHA }}
170170
path: app
@@ -251,7 +251,7 @@ jobs:
251251
- name: Create initial PR comment
252252
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
253253
id: create-comment
254-
uses: actions/github-script@v7
254+
uses: actions/github-script@v8
255255
with:
256256
script: |
257257
const result = await github.rest.issues.createComment({
@@ -264,7 +264,7 @@ jobs:
264264
265265
- name: Set deployment links
266266
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
267-
uses: actions/github-script@v7
267+
uses: actions/github-script@v8
268268
with:
269269
script: |
270270
const workflowUrl = `${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
@@ -277,7 +277,7 @@ jobs:
277277
- name: Initialize GitHub deployment
278278
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
279279
id: init-deployment
280-
uses: actions/github-script@v7
280+
uses: actions/github-script@v8
281281
with:
282282
script: |
283283
const deployment = await github.rest.repos.createDeployment({
@@ -302,7 +302,7 @@ jobs:
302302
303303
- name: Update PR comment with build status
304304
if: steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
305-
uses: actions/github-script@v7
305+
uses: actions/github-script@v8
306306
env:
307307
COMMENT_ID: ${{ steps.create-comment.outputs.comment-id }}
308308
with:
@@ -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
env:
348348
COMMENT_ID: ${{ steps.create-comment.outputs.comment-id }}
349349
with:
@@ -399,7 +399,7 @@ jobs:
399399
400400
- name: Finalize deployment status
401401
if: always() && steps.config.outputs.ready == 'true' && steps.source.outputs.allowed == 'true' && (steps.check-app.outputs.exists == 'true' || steps.setup-review-app.outcome == 'success')
402-
uses: actions/github-script@v7
402+
uses: actions/github-script@v8
403403
env:
404404
COMMENT_ID: ${{ steps.create-comment.outputs.comment-id }}
405405
DEPLOYMENT_ID: ${{ steps.init-deployment.outputs.result }}

.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
with:
6060
persist-credentials: false
6161

@@ -79,7 +79,7 @@ jobs:
7979
timeout-minutes: 30
8080
steps:
8181
- name: Checkout repository
82-
uses: actions/checkout@v4
82+
uses: actions/checkout@v6
8383
with:
8484
persist-credentials: false
8585

@@ -108,7 +108,7 @@ jobs:
108108
timeout-minutes: 30
109109
steps:
110110
- name: Checkout repository
111-
uses: actions/checkout@v4
111+
uses: actions/checkout@v6
112112
with:
113113
persist-credentials: false
114114

.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)