File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 mode : ${{ steps.matrix.outputs.mode }}
5757 steps :
5858 - name : Verify commenter has write permission
59- uses : actions/github-script@v7
59+ uses : actions/github-script@v9
6060 with :
6161 script : |
6262 const { data: perm } = await github.rest.repos.getCollaboratorPermissionLevel({
7373 }
7474
7575 - name : React 👀 to the trigger comment
76- uses : actions/github-script@v7
76+ uses : actions/github-script@v9
7777 with :
7878 script : |
7979 await github.rest.reactions.createForIssueComment({
8585
8686 - name : Resolve PR head SHA
8787 id : pr
88- uses : actions/github-script@v7
88+ uses : actions/github-script@v9
8989 with :
9090 script : |
9191 const { data: pr } = await github.rest.pulls.get({
@@ -209,7 +209,7 @@ jobs:
209209
210210 - name : Comment outcome on the PR
211211 if : always()
212- uses : actions/github-script@v7
212+ uses : actions/github-script@v9
213213 with :
214214 script : |
215215 const ok = '${{ needs.integration-tests.result }}' === 'success';
Original file line number Diff line number Diff line change 4646 # external user commenting on a fork PR could burn our CI minutes
4747 # and potentially exfiltrate secrets via a malicious build.
4848 - name : Verify commenter has write permission
49- uses : actions/github-script@v7
49+ uses : actions/github-script@v9
5050 with :
5151 script : |
5252 const { data: perm } = await github.rest.repos.getCollaboratorPermissionLevel({
6464
6565 # Visible feedback to the commenter that we picked up the trigger.
6666 - name : React 👀 to the trigger comment
67- uses : actions/github-script@v7
67+ uses : actions/github-script@v9
6868 with :
6969 script : |
7070 await github.rest.reactions.createForIssueComment({
7979 # firing on closed PRs is almost always a mistake.
8080 - name : Resolve PR head SHA
8181 id : pr
82- uses : actions/github-script@v7
82+ uses : actions/github-script@v9
8383 with :
8484 script : |
8585 const { data: pr } = await github.rest.pulls.get({
@@ -146,7 +146,7 @@ jobs:
146146 runs-on : ubuntu-latest
147147 steps :
148148 - name : Comment outcome
149- uses : actions/github-script@v7
149+ uses : actions/github-script@v9
150150 with :
151151 script : |
152152 const ok = '${{ needs.verify.result }}' === 'success';
You can’t perform that action at this time.
0 commit comments