Skip to content

Commit 3dad0ae

Browse files
committed
ci: pin Blacksmith actions to full commit SHAs
Match the action-hardening policy (d2ddf9f) by replacing the floating @v5 / @v1 refs introduced in earlier rollout commits with full 40-char commit SHAs and a trailing "# v<N>" comment, matching the format already used for actions/checkout, actions/setup-node, actions/setup-go, oven-sh/setup-bun, etc. Resolved tag SHAs (via git ls-remote, 2026-05-19): useblacksmith/cache v5 -> 71c7c918062ba3861252d84b07fe5ab2a6b467a6 useblacksmith/setup-node v5 -> 65c6ca86fdeb0ab3d85e78f57e4f6a7e4780b391 useblacksmith/setup-go v5 -> f12a3dabb4171193018e496855e47349b360c056 useblacksmith/checkout v1 -> 41cdeedae8edb2e684ba22896a5fd2a3cb85db6b Dependabot (github-actions ecosystem) already groups major bumps in .github/dependabot.yml, so these will get automated updates the same way the upstream actions do.
1 parent 9b05731 commit 3dad0ae

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111

1212
- name: Restore Bun toolchain cache
1313
id: bun-toolchain-cache
14-
uses: useblacksmith/cache@v5
14+
uses: useblacksmith/cache@71c7c918062ba3861252d84b07fe5ab2a6b467a6 # v5
1515
with:
1616
path: /opt/hostedtoolcache/bun
1717
key: bun-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ env.BUN_VERSION }}
@@ -39,7 +39,7 @@ runs:
3939
run: bun --version
4040

4141
- name: Install Node.js
42-
uses: useblacksmith/setup-node@v5
42+
uses: useblacksmith/setup-node@65c6ca86fdeb0ab3d85e78f57e4f6a7e4780b391 # v5
4343
with:
4444
node-version-file: .nvmrc
4545
package-manager-cache: false
@@ -49,7 +49,7 @@ runs:
4949
run: npm install --global --force corepack && corepack enable
5050

5151
- name: Configure dependency cache
52-
uses: useblacksmith/setup-node@v5
52+
uses: useblacksmith/setup-node@65c6ca86fdeb0ab3d85e78f57e4f6a7e4780b391 # v5
5353
with:
5454
cache: pnpm
5555

.github/workflows/cli-go-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525

26-
- uses: useblacksmith/setup-go@v5
26+
- uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
2727
with:
2828
go-version-file: apps/cli-go/go.mod
2929
cache: true
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262

63-
- uses: useblacksmith/setup-go@v5
63+
- uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
6464
with:
6565
go-version-file: apps/cli-go/go.mod
6666
# Linter requires no cache
@@ -78,7 +78,7 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
81-
- uses: useblacksmith/setup-go@v5
81+
- uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
8282
with:
8383
go-version-file: apps/cli-go/go.mod
8484
cache: true
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: ubuntu-latest
103103
steps:
104104
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
105-
- uses: useblacksmith/setup-go@v5
105+
- uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
106106
with:
107107
go-version-file: apps/cli-go/go.mod
108108
cache: true
@@ -118,7 +118,7 @@ jobs:
118118
steps:
119119
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
120120

121-
- uses: useblacksmith/setup-go@v5
121+
- uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
122122
with:
123123
go-version-file: apps/cli-go/go.mod
124124
cache: true

.github/workflows/release-shared.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: ./.github/actions/setup
5858

5959
- name: Setup Go
60-
uses: useblacksmith/setup-go@v5
60+
uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
6161
with:
6262
go-version-file: apps/cli-go/go.mod
6363
cache: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
app-id: ${{ secrets.APP_ID }}
5757
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
58-
- uses: useblacksmith/checkout@v1
58+
- uses: useblacksmith/checkout@41cdeedae8edb2e684ba22896a5fd2a3cb85db6b # v1
5959
with:
6060
fetch-depth: 0
6161
token: ${{ steps.app-token.outputs.token }}
@@ -97,7 +97,7 @@ jobs:
9797
# Authorization header overrides the App token semantic-release puts in
9898
# the push URL — making the dry-push identify as `github-actions[bot]`
9999
# and get rejected by branch protection.
100-
- uses: useblacksmith/checkout@v1
100+
- uses: useblacksmith/checkout@41cdeedae8edb2e684ba22896a5fd2a3cb85db6b # v1
101101
with:
102102
fetch-depth: 0
103103
persist-credentials: false

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup
3434
uses: ./.github/actions/setup
3535
- name: Setup Go
36-
uses: useblacksmith/setup-go@v5
36+
uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
3737
with:
3838
go-version-file: apps/cli-go/go.mod
3939
cache-dependency-path: apps/cli-go/go.sum
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup
5858
uses: ./.github/actions/setup
5959
- name: Setup Go
60-
uses: useblacksmith/setup-go@v5
60+
uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
6161
with:
6262
go-version-file: apps/cli-go/go.mod
6363
cache-dependency-path: apps/cli-go/go.sum
@@ -80,7 +80,7 @@ jobs:
8080
shard: [ 1, 2, 3 ]
8181
steps:
8282
- name: Checkout
83-
uses: useblacksmith/checkout@v1
83+
uses: useblacksmith/checkout@41cdeedae8edb2e684ba22896a5fd2a3cb85db6b # v1
8484
with:
8585
fetch-depth: 0
8686

@@ -123,7 +123,7 @@ jobs:
123123
- name: Setup Go
124124
if: steps.detect.outputs.cli_e2e == 'true' &&
125125
steps.cache-go-binary.outputs.cache-hit != 'true'
126-
uses: useblacksmith/setup-go@v5
126+
uses: useblacksmith/setup-go@f12a3dabb4171193018e496855e47349b360c056 # v5
127127
with:
128128
go-version-file: apps/cli-go/go.mod
129129
cache-dependency-path: apps/cli-go/go.sum

0 commit comments

Comments
 (0)