Skip to content

Commit 26269be

Browse files
authored
chore(security): uses pinned versions of actions (#924)
1 parent 6c47557 commit 26269be

7 files changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3737

3838
- name: Checkout
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4040

4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v4
42+
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
4343
with:
4444
languages: ${{ matrix.language }}
4545
queries: +security-and-quality
4646

4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v4
48+
uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
4949

5050
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v4
51+
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
5252
with:
5353
category: '/language:${{ matrix.language }}'

.github/workflows/cross-browser.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3232
with:
3333
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3434

@@ -38,7 +38,7 @@ jobs:
3838
node: ${{ env.NODE_VERSION }}
3939

4040
- name: Upload build artifacts
41-
uses: actions/upload-artifact@v7
41+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4242
with:
4343
name: dist-${{ github.run_id }}
4444
path: dist
@@ -58,26 +58,26 @@ jobs:
5858

5959
steps:
6060
- name: Checkout code
61-
uses: actions/checkout@v6
61+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6262
with:
6363
ref: ${{ github.event.pull_request.head.sha || github.ref }}
6464

6565
- name: Download build artifacts
66-
uses: actions/download-artifact@v8
66+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6767
with:
6868
name: dist-${{ github.run_id }}
6969
path: dist
7070

7171
- name: Setup Node
72-
uses: actions/setup-node@v6
72+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7373
with:
7474
node-version: ${{ env.NODE_VERSION }}
7575

7676
- name: Install dependencies
7777
run: npm i
7878

7979
- name: Run cross-browser tests
80-
uses: cypress-io/github-action@v7
80+
uses: cypress-io/github-action@948d67d3074f1bbb6379c8bdbb04e95d2f8e593f # v7.4.0
8181
with:
8282
browser: ${{ matrix.browser }}
8383
start: npm run start:local
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Upload Cypress screenshots
9090
if: failure()
91-
uses: actions/upload-artifact@v7
91+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9292
with:
9393
name: cypress-screenshots-${{ matrix.browser }}-${{ github.run_id }}
9494
path: projects/playground/e2e/screenshots

.github/workflows/npm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
# Checkout the code
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3131
with:
3232
fetch-depth: 0
3333

.github/workflows/publish.yml

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

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4040
with:
4141
fetch-depth: 0
4242
ref: ${{ github.event.inputs.branch }}
@@ -59,7 +59,7 @@ jobs:
5959
6060
# Ensure tag does not already exist.
6161
- name: Validate version
62-
uses: actions/github-script@v9
62+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
6363
env:
6464
vtag: ${{ env.vtag }}
6565
with:
@@ -88,13 +88,13 @@ jobs:
8888

8989
steps:
9090
- name: Checkout code
91-
uses: actions/checkout@v6
91+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
9292
with:
9393
fetch-depth: 0
9494
ref: ${{ github.event.inputs.branch }}
9595

9696
- name: Setup Node
97-
uses: actions/setup-node@v6
97+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
9898
with:
9999
node-version: ${{ env.NODE_VERSION }}
100100

.github/workflows/rl-secure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Checkout code
36-
uses: actions/checkout@v6
36+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3737
with:
3838
fetch-depth: 0
3939

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
3030
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3131

32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3333
with:
3434
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3535

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout code
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3131

3232
- name: Build package
3333
uses: ./.github/actions/build
@@ -44,10 +44,10 @@ jobs:
4444

4545
steps:
4646
- name: Checkout code
47-
uses: actions/checkout@v6
47+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4848

4949
- name: Setup Node
50-
uses: actions/setup-node@v6
50+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
5151
with:
5252
node-version: ${{ matrix.NODE_VERSION }}
5353

@@ -66,10 +66,10 @@ jobs:
6666

6767
steps:
6868
- name: Checkout code
69-
uses: actions/checkout@v6
69+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7070

7171
- name: Setup Node
72-
uses: actions/setup-node@v6
72+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7373
with:
7474
node-version: ${{ env.NODE_VERSION }}
7575

0 commit comments

Comments
 (0)