Skip to content

Commit 156d28e

Browse files
committed
revert(actions): restore stable @sha pins after diagnostic CI run
The diagnostic-SHA-pinning approach hit two blockers: 1. `@main` pin fails workflow validation (org policy requires SHA-pinned actions). 2. New @sha pins fail zizmor's `impostor-commit` audit, because zizmor's commit-history check appears to lag behind newly- pushed SHAs. The actual CI failure root cause has been identified (pnpm version mismatch between runner's preinstalled 11.0.6 and package.json's declared 11.1.2 — surfaces as "sfw is not installed" in install action because setup's SFW step is skipped on the version-mismatched runner pnpm). Fixing that needs a separate `setup` action change to prepend the installed pnpm to PATH; doesn't need the diagnostic pin chain. Restore stable SHA pins so registry's own CI runs cleanly while the next fix lands. Keeping the diagnostic `ls -la` blocks in setup/action.yml and checkout/action.yml (committed in fce50ac + 92c6ffb); they're inert on success paths and will surface useful info the next time the path-resolution failure mode recurs. Pre-commit bypassed (SOCKET_API_KEY 401, user-authorized via 'Allow lint bypass').
1 parent 3208014 commit 156d28e

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/actions/setup-and-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ runs:
7171
steps:
7272
- name: Checkout
7373
if: inputs.checkout == 'true'
74-
uses: SocketDev/socket-registry/.github/actions/checkout@92c6ffb792d8a4bdc59ba53a93dc69cf03ea7b9d # diagnostic (2026-05-18)
74+
uses: SocketDev/socket-registry/.github/actions/checkout@64eb126e90301045eb095cf18f8050db3ff358a2 # main (2026-05-15)
7575
with:
7676
fetch-depth: ${{ inputs.checkout-fetch-depth }}
7777
ref: ${{ inputs.checkout-ref }}
7878
working-directory: ${{ inputs.working-directory }}
7979

8080
- name: Setup environment
81-
uses: SocketDev/socket-registry/.github/actions/setup@92c6ffb792d8a4bdc59ba53a93dc69cf03ea7b9d # diagnostic (2026-05-18)
81+
uses: SocketDev/socket-registry/.github/actions/setup@60ba2612776f9d9c6d63fb24fdac4cd9991e505d # main (2026-05-15)
8282
with:
8383
debug: ${{ inputs.debug }}
8484
node-version: ${{ inputs.node-version }}

.github/workflows/_local-not-for-reuse-ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
timeout-minutes: 15
3232
steps:
33-
# TEMPORARY: pin to the diagnostic SHA so the `ls -la` block
34-
# added in setup/action.yml + checkout/action.yml actually
35-
# runs (the previous SHA-pinned setup-and-install@56be73d6
36-
# doesn't have the diagnostic yet). Revert to a stable SHA
37-
# once external-tools.json path resolution is fixed.
38-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@92c6ffb792d8a4bdc59ba53a93dc69cf03ea7b9d # diagnostic (2026-05-18)
33+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@56be73d6881212e642f35a3cd165e27cb1c09aef # main (2026-05-15)
3934
with:
4035
node-version: 22
4136

0 commit comments

Comments
 (0)