File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Check if user has write access
25- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
25+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
2626 with :
2727 script : |
2828 const permission = await github.rest.repos.getCollaboratorPermissionLevel({
4242 }
4343
4444 - name : React to comment
45- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
45+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
4646 with :
4747 script : |
4848 await github.rest.reactions.createForIssueComment({
5454
5555 - name : Get PR branch
5656 id : pr
57- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
57+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
5858 with :
5959 script : |
6060 const pr = await github.rest.pulls.get({
8585
8686 - name : Comment on success
8787 if : success()
88- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
88+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
8989 with :
9090 script : |
9191 await github.rest.issues.createComment({
9797
9898 - name : Comment on failure
9999 if : failure()
100- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
100+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
101101 with :
102102 script : |
103103 await github.rest.issues.createComment({
You can’t perform that action at this time.
0 commit comments