Skip to content

Commit c907057

Browse files
authored
Merge pull request #1002 from NixOS/renovate/actions-github-script-9.x
Update actions/github-script action to v9
2 parents 94c2c8d + d8abb95 commit c907057

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/format-pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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({
@@ -42,7 +42,7 @@ jobs:
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({
@@ -54,7 +54,7 @@ jobs:
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({
@@ -85,7 +85,7 @@ jobs:
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({
@@ -97,7 +97,7 @@ jobs:
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({

0 commit comments

Comments
 (0)