Skip to content

Commit ef2613a

Browse files
authored
Pin GitHub Actions to specific commit hashes (#6479)
1 parent f2e61b8 commit ef2613a

File tree

9 files changed

+25
-25
lines changed

9 files changed

+25
-25
lines changed

.github/composite-actions/install/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ runs:
66
steps:
77
# we use bun for some test suites
88
- name: Setup bun
9-
uses: oven-sh/setup-bun@v1
9+
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
1010
with:
1111
bun-version: 1.0.35
1212
# pnpm for our dependencies
13-
- uses: pnpm/action-setup@v3
13+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
1414
with:
1515
version: 9
1616
- name: Setup Node.js
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
1818
with:
1919
node-version: 20
2020
check-latest: true

.github/workflows/CI.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- name: Optimize CI
2828
id: check_skip
29-
uses: withgraphite/graphite-ci-action@main
29+
uses: withgraphite/graphite-ci-action@9cb601a55e114099561b6d755505de377d45db40 # v0.0.9 ("main")
3030
with:
3131
graphite_token: ${{ secrets.GRAPHITE_OMTIMIZE_TOKEN }}
3232

@@ -38,7 +38,7 @@ jobs:
3838
name: Build Packages
3939
steps:
4040
- name: Check out the code
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4242

4343
- name: Setup & Install
4444
uses: ./.github/composite-actions/install
@@ -54,13 +54,13 @@ jobs:
5454
runs-on: ubuntu-latest-8
5555
steps:
5656
- name: Check out the code
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858

5959
- name: Setup & Install
6060
uses: ./.github/composite-actions/install
6161

6262
- name: Setup Biome
63-
uses: biomejs/setup-biome@v2
63+
uses: biomejs/setup-biome@c016c38f26f2c4a6eb3662679143614a254263fd # v2.3.0
6464
with:
6565
version: latest
6666

@@ -74,21 +74,21 @@ jobs:
7474
runs-on: ubuntu-latest-8
7575
steps:
7676
- name: Check out the code
77-
uses: actions/checkout@v4
77+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7878

7979
- name: Setup & Install
8080
uses: ./.github/composite-actions/install
8181

8282
- name: Set up foundry
83-
uses: foundry-rs/foundry-toolchain@v1
83+
uses: foundry-rs/foundry-toolchain@de808b1eea699e761c404bda44ba8f21aba30b2c # v1.3.1
8484
with:
8585
cache: false
8686
version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c
8787

8888
- run: pnpm test
8989

9090
- name: Code Coverage
91-
uses: codecov/codecov-action@v5
91+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
9292
with:
9393
directory: packages/
9494
flags: packages
@@ -106,7 +106,7 @@ jobs:
106106
bundler: [vite, webpack, esbuild]
107107
steps:
108108
- name: Check out the code
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110110

111111
- name: Setup & Install
112112
uses: ./.github/composite-actions/install
@@ -172,13 +172,13 @@ jobs:
172172
runs-on: ubuntu-latest-8
173173
steps:
174174
- name: Check out the code
175-
uses: actions/checkout@v4
175+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
176176

177177
- name: Setup & Install
178178
uses: ./.github/composite-actions/install
179179

180180
- name: Report bundle size
181-
uses: andresz1/size-limit-action@master
181+
uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d # v1.8.0
182182
with:
183183
github_token: ${{ secrets.GITHUB_TOKEN }}
184184
package_manager: pnpm

.github/workflows/auto-assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
github.event.pull_request.author_association == 'COLLABORATOR' ||
1717
github.event.pull_request.author_association == 'CONTRIBUTOR'
1818
steps:
19-
- uses: toshimaru/auto-author-assign@v2.1.1
19+
- uses: toshimaru/auto-author-assign@16f0022cf3d7970c106d8d1105f75a1165edb516 # v2.1.1

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242

4343
steps:
4444
- name: Checkout repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@v3
49+
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
5050
with:
5151
languages: ${{ matrix.language }}
5252
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -59,7 +59,7 @@ jobs:
5959
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6060
# If this step fails, then you should remove it and run the build manually (see below)
6161
- name: Autobuild
62-
uses: github/codeql-action/autobuild@v3
62+
uses: github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
6363

6464
# ℹ️ Command-line programs to run using the OS shell.
6565
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -72,4 +72,4 @@ jobs:
7272
# ./location_of_script_within_repo/buildscript.sh
7373

7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v3
75+
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
pull-requests: write
1818

1919
steps:
20-
- uses: actions/labeler@v5
20+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
2121
with:
2222
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout branch
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
with:
2929
fetch-depth: 0
3030
# Do not use the GITHUB_TOKEN by default

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout branch
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
fetch-depth: 0
3131
# Do not use the GITHUB_TOKEN by default
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Create release Pull Request or publish to NPM
3838
id: changesets
39-
uses: changesets/action@v1
39+
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc #v1.4.0
4040
with:
4141
publish: pnpm release
4242
version: pnpm version-packages

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v9
10+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v.9.1.0
1111
with:
1212
stale-issue-message: 'This issue has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs.'
1313
stale-pr-message: 'This PR has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs.'

.github/workflows/typedoc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525

2626
- name: Install
2727
uses: ./.github/composite-actions/install
@@ -30,7 +30,7 @@ jobs:
3030
run: pnpm typedoc
3131

3232
- name: Update Gist
33-
uses: actions/github-script@v7
33+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
3434
with:
3535
github-token: ${{ secrets.GIST_TOKEN }}
3636
script: |

0 commit comments

Comments
 (0)