@@ -24,13 +24,12 @@ jobs:
2424 outputs :
2525 has-updates : ${{ steps.check.outputs.has-updates }}
2626 steps :
27- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
27+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
2828
2929 - name : Check for npm updates
3030 id : check
3131 shell : bash
3232 run : |
33- alias pnpm="$SFW_BIN pnpm"
3433 echo "Checking for npm package updates..."
3534 HAS_UPDATES=false
3635 NPM_UPDATES=$(pnpm outdated 2>/dev/null || true)
4948 contents : write
5049 pull-requests : write
5150 steps :
52- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
51+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
5352
5453 - name : Create update branch
5554 id : branch
6160 git checkout -b "$BRANCH_NAME"
6261 echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
6362
64- - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@da519693b701861bc0f9690a30f50af1a1dcd49c # main
63+ - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
6564 with :
6665 gpg-private-key : ${{ secrets.BOT_GPG_PRIVATE_KEY }}
6766
7372 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
7473 GITHUB_ACTIONS : ' true'
7574 run : |
76- # Wrap pnpm through Socket firewall for all subprocesses (not just this shell).
77- if [ -n "$SFW_BIN" ]; then
78- mkdir -p /tmp/sfw-bin
79- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
80- chmod +x /tmp/sfw-bin/pnpm
81- export PATH="/tmp/sfw-bin:$PATH"
82- fi
83-
8475 if [ -z "$ANTHROPIC_API_KEY" ]; then
8576 echo "ANTHROPIC_API_KEY not set - skipping automated update"
8677 echo "success=false" >> $GITHUB_OUTPUT
@@ -132,13 +123,6 @@ jobs:
132123 if : steps.update.outputs.success == 'true'
133124 shell : bash
134125 run : |
135- if [ -n "$SFW_BIN" ]; then
136- mkdir -p /tmp/sfw-bin
137- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
138- chmod +x /tmp/sfw-bin/pnpm
139- export PATH="/tmp/sfw-bin:$PATH"
140- fi
141-
142126 set +e
143127 pnpm run build 2>&1 | tee build-output.log
144128 BUILD_EXIT=$?
@@ -166,13 +150,6 @@ jobs:
166150 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
167151 GITHUB_ACTIONS : ' true'
168152 run : |
169- if [ -n "$SFW_BIN" ]; then
170- mkdir -p /tmp/sfw-bin
171- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
172- chmod +x /tmp/sfw-bin/pnpm
173- export PATH="/tmp/sfw-bin:$PATH"
174- fi
175-
176153 # Collect failure context for the agent.
177154 FAILURE_LOG=""
178155 if [ -f build-output.log ]; then
@@ -318,7 +295,7 @@ jobs:
318295 test-output.log
319296 retention-days : 7
320297
321- - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@da519693b701861bc0f9690a30f50af1a1dcd49c # main
298+ - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
322299 if : always()
323300
324301 notify :
0 commit comments