5959
6060 - name : Get PR details
6161 id : pr-details
62- uses : actions/github-script@v8
62+ uses : actions/github-script@v9
6363 with :
6464 script : |
6565 const { data: pr } = await github.rest.pulls.get({
@@ -101,7 +101,7 @@ jobs:
101101 - name : Determine update type and risk level
102102 id : analyze-changes
103103 if : steps.check-bot.outputs.allowed == 'true'
104- uses : actions/github-script@v8
104+ uses : actions/github-script@v9
105105 env :
106106 PR_TITLE : ${{ fromJson(steps.pr-details.outputs.result).title }}
107107 PR_BODY : ${{ fromJson(steps.pr-details.outputs.result).body }}
@@ -271,7 +271,7 @@ jobs:
271271
272272 - name : Enhanced merge decision
273273 if : steps.analyze-changes.outputs.result && fromJson(steps.analyze-changes.outputs.result).autoMergeAllowed
274- uses : actions/github-script@v8
274+ uses : actions/github-script@v9
275275 with :
276276 script : |
277277 const analysis = ${{ steps.analyze-changes.outputs.result }};
@@ -299,7 +299,7 @@ jobs:
299299 - name : Wait for status checks
300300 id : wait-for-checks
301301 if : steps.analyze-changes.outputs.result && fromJson(steps.analyze-changes.outputs.result).autoMergeAllowed
302- uses : actions/github-script@v8
302+ uses : actions/github-script@v9
303303 with :
304304 script : |
305305 const maxWaitTime = 10 * 60 * 1000; // 10 minutes
@@ -370,7 +370,7 @@ jobs:
370370 - name : Check for merge conflicts
371371 id : check-conflicts
372372 if : fromJson(steps.wait-for-checks.outputs.result).success
373- uses : actions/github-script@v8
373+ uses : actions/github-script@v9
374374 with :
375375 script : |
376376 const prNumber = ${{ fromJson(steps.pr-details.outputs.result).number }};
@@ -403,7 +403,7 @@ jobs:
403403
404404 - name : Close conflicted PR
405405 if : fromJson(steps.check-conflicts.outputs.result).hasConflicts
406- uses : actions/github-script@v8
406+ uses : actions/github-script@v9
407407 with :
408408 script : |
409409 const prNumber = ${{ fromJson(steps.pr-details.outputs.result).number }};
@@ -440,7 +440,7 @@ jobs:
440440 - name : Check PR requirements
441441 id : check-requirements
442442 if : fromJson(steps.check-conflicts.outputs.result).hasConflicts == false
443- uses : actions/github-script@v8
443+ uses : actions/github-script@v9
444444 with :
445445 script : |
446446 const prNumber = ${{ fromJson(steps.pr-details.outputs.result).number }};
@@ -494,7 +494,7 @@ jobs:
494494
495495 - name : Auto-approve PR
496496 if : fromJson(steps.check-conflicts.outputs.result).hasConflicts == false && fromJson(steps.check-requirements.outputs.result).canMerge
497- uses : actions/github-script@v8
497+ uses : actions/github-script@v9
498498 with :
499499 script : |
500500 const prNumber = ${{ fromJson(steps.pr-details.outputs.result).number }};
@@ -514,7 +514,7 @@ jobs:
514514
515515 - name : Merge PR
516516 if : fromJson(steps.check-conflicts.outputs.result).hasConflicts == false && fromJson(steps.check-requirements.outputs.result).canMerge
517- uses : actions/github-script@v8
517+ uses : actions/github-script@v9
518518 with :
519519 script : |
520520 const prNumber = ${{ fromJson(steps.pr-details.outputs.result).number }};
@@ -564,7 +564,7 @@ jobs:
564564
565565 - name : Cleanup on failure
566566 if : failure() && steps.pr-details.outputs.result
567- uses : actions/github-script@v8
567+ uses : actions/github-script@v9
568568 with :
569569 script : |
570570 const prDetails = ${{ steps.pr-details.outputs.result || '{}' }};
0 commit comments