Skip to content

Commit a034dee

Browse files
authored
ci(workflows): pin 3rd party actions (#28299)
1 parent 0b2527c commit a034dee

11 files changed

+24
-24
lines changed

.github/workflows/add-push-artifacts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ jobs:
1111
name: Enumerate and diff features
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
with:
1616
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
1717
persist-credentials: false
18-
- uses: actions/setup-node@v6
18+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
1919
with:
2020
node-version-file: ".nvmrc"
2121
cache: npm
2222
package-manager-cache: true
2323
- run: npm ci
2424
- run: npx tsx ./scripts/enumerate-features.ts features.json
2525
- run: npx tsx ./scripts/diff-features.ts --no-github --format=json > features.diff.json
26-
- uses: actions/upload-artifact@v5
26+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
2727
with:
2828
name: enumerate-features
2929
path: features.json
30-
- uses: actions/upload-artifact@v5
30+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3131
with:
3232
name: diff-features
3333
path: features.diff.json

.github/workflows/issue-regex-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issue-labeler:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: github/[email protected]
15+
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
1616
with:
1717
configuration-path: .github/issue-regex-labeler.yml
1818
enable-versioned-regex: 0

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
label-py-path:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/labeler@v6
14+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
sync-labels: true

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
name: Active LTS
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
with:
1818
persist-credentials: false
19-
- uses: actions/setup-node@v6
19+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2020
with:
2121
node-version-file: ".nvmrc"
2222
cache: npm

.github/workflows/pr-review-companion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2424
with:
2525
persist-credentials: false
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@v6
28+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
3030
node-version-file: ".nvmrc"
3131
package-manager-cache: false

.github/workflows/release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929
with:
3030
fetch-depth: 0
3131
fetch-tags: true
@@ -34,7 +34,7 @@ jobs:
3434
persist-credentials: true
3535

3636
- name: Setup Node
37-
uses: actions/setup-node@v6
37+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
3838
with:
3939
node-version-file: ".nvmrc"
4040
package-manager-cache: false

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout (BCD)
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929
with:
3030
persist-credentials: false
3131

@@ -41,11 +41,11 @@ jobs:
4141
runs-on: ubuntu-latest
4242

4343
steps:
44-
- uses: actions/checkout@v5
44+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4545
with:
4646
persist-credentials: false
4747

48-
- uses: actions/setup-node@v6
48+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4949
with:
5050
node-version-file: ".nvmrc"
5151
package-manager-cache: false
@@ -70,7 +70,7 @@ jobs:
7070
# run: npm run --silent stats | gh issue comment https://github.com/mdn/browser-compat-data/issues/3555 --body-file -
7171

7272
- name: Trigger BCD deployment
73-
uses: actions/github-script@v8
73+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
7474
with:
7575
github-token: ${{ secrets.DISPATCH_PAT }}
7676
script: |

.github/workflows/update-browser-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
env:
1919
RESULT: ""
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
2424
persist-credentials: false
2525

26-
- uses: actions/setup-node@v6
26+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2727
with:
2828
node-version-file: ".nvmrc"
2929
package-manager-cache: false

.github/workflows/update-mdn-urls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
with:
2222
ref: ${{ github.head_ref }}
2323
token: ${{ secrets.GH_TOKEN }}
2424
# Need credentials to push changes.
2525
persist-credentials: true
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@v6
28+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
3030
node-version-file: ".nvmrc"
3131
package-manager-cache: false

.github/workflows/update-web-features.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
ref: ${{ github.head_ref }}
2424
token: ${{ secrets.GH_TOKEN }}
2525
persist-credentials: false
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@v6
28+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
3030
node-version-file: ".nvmrc"
3131
package-manager-cache: false

0 commit comments

Comments
 (0)