Skip to content

Commit 117a248

Browse files
Workflows: Use SHA-1 precise references for third-party actions (#41595)
1 parent 3ec3e20 commit 117a248

14 files changed

+28
-28
lines changed

.github/workflows/browserstack.yml

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

2323
steps:
2424
- name: Clone repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
persist-credentials: false
2828

2929
- name: Set up Node.js
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3131
with:
3232
node-version: "${{ env.NODE }}"
3333
cache: npm

.github/workflows/bundlewatch.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: Clone repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/calibreapp-image-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
pull-requests: write
2323
steps:
2424
- name: Clone repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
persist-credentials: false
2828

2929
- name: Compress Images
30-
uses: calibreapp/image-actions@1.1.0
30+
uses: calibreapp/image-actions@737ceeaeed61e17b8d358358a303f1b8d177b779 # v1.1.0
3131
with:
3232
githubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
with:
2929
persist-credentials: false
3030

3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v3
32+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
3333
with:
3434
config-file: ./.github/codeql/codeql-config.yml
3535
languages: "javascript"
3636
queries: +security-and-quality
3737

3838
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v3
39+
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
4040

4141
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
4343
with:
4444
category: "/language:javascript"

.github/workflows/cspell.yml

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

2424
steps:
2525
- name: Clone repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
persist-credentials: false
2929

3030
- name: Run cspell
31-
uses: streetsidesoftware/cspell-action@v7
31+
uses: streetsidesoftware/cspell-action@157048954070986ce4315d0813573a2d8faee361 # v7.1.1
3232
with:
3333
config: ".cspell.json"
3434
files: "**/*.{md,mdx}"

.github/workflows/css.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: Clone repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/docs.yml

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

2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm
@@ -42,7 +42,7 @@ jobs:
4242
run: npm run docs-vnu
4343

4444
- name: Run linkinator
45-
uses: JustinBeckwith/linkinator-action@v1
45+
uses: JustinBeckwith/linkinator-action@3d5ba091319fa7b0ac14703761eebb7d100e6f6d # v1.11.0
4646
with:
4747
paths: _site
4848
recurse: true

.github/workflows/issue-close-require.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'twbs/bootstrap'
1818
steps:
1919
- name: awaiting reply
20-
uses: actions-cool/issues-helper@v3
20+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
2121
with:
2222
actions: "close-issues"
2323
labels: "awaiting-reply"

.github/workflows/issue-labeled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: awaiting reply
2020
if: github.event.label.name == 'needs-example'
21-
uses: actions-cool/issues-helper@v3
21+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
2222
with:
2323
actions: "create-comment"
2424
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/js.yml

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

2626
steps:
2727
- name: Clone repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
persist-credentials: false
3131

3232
- name: Set up Node.js
33-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3434
with:
3535
node-version: ${{ env.NODE }}
3636
cache: npm
@@ -45,7 +45,7 @@ jobs:
4545
run: npm run js-test
4646

4747
- name: Run Coveralls
48-
uses: coverallsapp/github-action@v2
48+
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
4949
if: ${{ !github.event.repository.fork }}
5050
with:
5151
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)