Update actions/github-script action to v9
renovate[bot] committed
Apr 9, 2026 at 23:51 UTC
d8abb955843949110d615d52f8dfc2035ffa8bb3
1 file changed
+5
-5
.github/workflows/format-pr.yml
+5
-5
@@ -22,7 +22,7 @@ jobs:
22
runs-on: ubuntu-latest
23
steps:
24
- 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
26
with:
27
script: |
28
const permission = await github.rest.repos.getCollaboratorPermissionLevel({
@@ -42,7 +42,7 @@ jobs:
42
}
43
44
- name: React to comment
45
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
45
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
46
with:
47
script: |
48
await github.rest.reactions.createForIssueComment({
@@ -54,7 +54,7 @@ jobs:
54
55
- name: Get PR branch
56
id: pr
57
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
57
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
58
with:
59
script: |
60
const pr = await github.rest.pulls.get({
@@ -85,7 +85,7 @@ jobs:
85
86
- name: Comment on success
87
if: success()
88
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
88
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
89
with:
90
script: |
91
await github.rest.issues.createComment({
@@ -97,7 +97,7 @@ jobs:
97
98
- name: Comment on failure
99
if: failure()
100
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
100
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
101
with:
102
script: |
103
await github.rest.issues.createComment({