Skip to content

Commit 8d810d4

Browse files
authored
Change github-script GH Action version from @main to @v7.1.0 (#7320)
1 parent 119a64e commit 8d810d4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/changelog-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
files: '**/changelog.d/**'
2929

3030
- name: Enforce Label
31-
uses: actions/github-script@main
31+
uses: actions/github-script@v7.1.0
3232
if: github.event.pull_request.draft == false
3333
with:
3434
script: |

.github/workflows/manual-benchmark.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fetch-depth: 5
3434

3535
- name: React With Rocket
36-
uses: actions/github-script@main
36+
uses: actions/github-script@v7.1.0
3737
with:
3838
script: |
3939
github.rest.reactions.createForIssueComment({
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Extract Benchmark Name
4747
id: extract-benchmark
48-
uses: actions/github-script@main
48+
uses: actions/github-script@v7.1.0
4949
with:
5050
script: |
5151
const regex = /^\/benchmark\s*([^\s]*)\s*(ghc96|ghc98|ghc910)?\s*$/;
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Extract Branch Name
6262
id: extract-branch
63-
uses: actions/github-script@main
63+
uses: actions/github-script@v7.1.0
6464
with:
6565
script: |
6666
async function isPullRequest() {
@@ -104,7 +104,7 @@ jobs:
104104
}
105105
106106
- name: Publish GH Action Link
107-
uses: actions/github-script@main
107+
uses: actions/github-script@v7.1.0
108108
with:
109109
script: |
110110
async function getJobUrl() {
@@ -133,7 +133,7 @@ jobs:
133133

134134

135135
- name: Publish Results
136-
uses: actions/github-script@main
136+
uses: actions/github-script@v7.1.0
137137
with:
138138
script: |
139139
const fs = require("fs");

.github/workflows/slack-message-broker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: [ubuntu-latest]
3030
steps:
3131
- name: Prepare Slack Message
32-
uses: actions/github-script@main
32+
uses: actions/github-script@v7.1.0
3333
id: prepare-slack-message
3434

3535
with:

.github/workflows/triage-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issues: write
1616
steps:
1717
- name: Add Label
18-
uses: actions/github-script@main
18+
uses: actions/github-script@v7.1.0
1919
with:
2020
script: |
2121
const INTERNAL_LABELS = ["Internal", "status: triaged"];

0 commit comments

Comments
 (0)