File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 - name : Check for command
2020 id : command
2121 continue-on-error : true
22- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
22+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
2323 with :
2424 script : |
2525 const commentBody = context.payload.comment.body;
Original file line number Diff line number Diff line change 1818
1919 - name : Get the PR number from the workflow run
2020 id : pr-number
21- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
21+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2222 with :
2323 script : |
2424 const prs = context.payload.workflow_run.pull_requests;
3333
3434 - name : Delete previous pre-commit failure comments
3535 if : steps.pr-number.outputs.number
36- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
36+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
3737 env :
3838 PR_NUMBER : ${{ steps.pr-number.outputs.number }}
3939 with :
6969
7070 - name : Post comment
7171 if : steps.pr-number.outputs.number && github.event.workflow_run.conclusion == 'failure'
72- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
72+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
7373 env :
7474 PR_NUMBER : ${{ steps.pr-number.outputs.number }}
7575 with :
You can’t perform that action at this time.
0 commit comments