Skip to content

Commit 79a8938

Browse files
committed
ci: pin third-party GitHub Actions to commit SHAs
1 parent f465c75 commit 79a8938

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Fetch Repository
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2727

2828
- name: Install Go
29-
uses: actions/setup-go@v6
29+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3030
with:
3131
# NOTE: Keep this in sync with the version from go.mod
3232
go-version: "1.25.x"
@@ -35,13 +35,13 @@ jobs:
3535
run: set -o pipefail; go test ./... -benchmem -run=^$ -bench . | tee output.txt
3636

3737
- name: Get Previous Benchmark Results
38-
uses: actions/cache@v5
38+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
3939
with:
4040
path: ./cache
4141
key: ${{ runner.os }}-benchmark
4242

4343
- name: Save Benchmark Results
44-
uses: benchmark-action/github-action-benchmark@v1
44+
uses: benchmark-action/github-action-benchmark@52576c92bccf6ac60c8223ec7eb2565637cae9ba # v1
4545
with:
4646
tool: 'go'
4747
output-file-path: output.txt

.github/workflows/dependabot-automerge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Wait for check is finished
1414
id: wait_for_checks
15-
uses: poseidon/wait-for-status-checks@v0.6.0
15+
uses: poseidon/wait-for-status-checks@899c768d191b56eef585c18f8558da19e1f3e707 # v0.6.0
1616
with:
1717
token: ${{ secrets.PR_TOKEN }}
1818
match_pattern: Tests
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- name: Dependabot metadata
2828
id: metadata
29-
uses: dependabot/fetch-metadata@v3.1.0
29+
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
3030
with:
3131
github-token: "${{ secrets.PR_TOKEN }}"
3232
- name: Enable auto-merge for Dependabot PRs

.github/workflows/modernize.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
modernize:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2626

27-
- uses: actions/setup-go@v6
27+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
2828
with:
2929
# NOTE: Keep this in sync with the version from go.mod
3030
go-version: "1.25.x"

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
pull-requests: read
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: release-drafter/release-drafter@v7
20+
- uses: release-drafter/release-drafter@c2e2804cc59f45f57076a99af580d0fedb697927 # v7

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
runs-on: ${{ matrix.platform }}
2828
steps:
2929
- name: Fetch Repository
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3131

3232
- name: Install Go
33-
uses: actions/setup-go@v6
33+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3434
with:
3535
go-version: ${{ matrix.go-version }}
3636

@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Upload coverage reports to Codecov
4747
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.25.x' }}
48-
uses: codecov/codecov-action@v6
48+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}
5151
files: ./coverage.txt

0 commit comments

Comments
 (0)