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 }}
0 commit comments