3434 WORKFLOW_ID : ${{github.event.workflow_run.id}}
3535
3636 - name : Add comment on PR
37- uses : actions/github-script@v5
37+ uses : actions/github-script@v7
3838 with :
3939 script : |
4040 const fs = require('fs');
5858 cmd : ${{ steps.parse-cmd.outputs.cmd }}
5959 pullRequestJSON : ${{ steps.parse-cmd.outputs.pullRequestJSON }}
6060 steps :
61- - uses : actions/github-script@v5
61+ - uses : actions/github-script@v7
6262 with :
6363 script : |
6464 github.rest.reactions.createForIssueComment({
6868 });
6969
7070 - id : parse-cmd
71- uses : actions/github-script@v5
71+ uses : actions/github-script@v7
7272 with :
7373 script : |
7474 const comment = context.payload.comment.body;
@@ -102,12 +102,12 @@ jobs:
102102 if : needs.accept-cmd.result != 'skipped' && always()
103103 runs-on : ubuntu-latest
104104 steps :
105- - uses : actions/download-artifact@v2
105+ - uses : actions/download-artifact@v4
106106 with :
107107 name : replyMessage
108108
109109 - if : failure()
110- uses : actions/github-script@v5
110+ uses : actions/github-script@v7
111111 with :
112112 script : |
113113 const fs = require('fs');
@@ -131,7 +131,7 @@ jobs:
131131 RUN_URL : ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}
132132
133133 - if : always()
134- uses : actions/github-script@v5
134+ uses : actions/github-script@v7
135135 with :
136136 script : |
137137 const fs = require('fs');
0 commit comments