@@ -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
7271 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
7372 GITHUB_ACTIONS : ' true'
7473 run : |
75- if [ -n "$SFW_BIN" ]; then
76- mkdir -p /tmp/sfw-bin
77- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
78- chmod +x /tmp/sfw-bin/pnpm
79- export PATH="/tmp/sfw-bin:$PATH"
80- fi
81-
8274 if [ -z "$ANTHROPIC_API_KEY" ]; then
8375 echo "ANTHROPIC_API_KEY not set - skipping automated update"
8476 echo "success=false" >> $GITHUB_OUTPUT
@@ -127,13 +119,6 @@ jobs:
127119 if : steps.update.outputs.success == 'true'
128120 continue-on-error : true
129121 run : |
130- if [ -n "$SFW_BIN" ]; then
131- mkdir -p /tmp/sfw-bin
132- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
133- chmod +x /tmp/sfw-bin/pnpm
134- export PATH="/tmp/sfw-bin:$PATH"
135- fi
136-
137122 set +e
138123 pnpm build 2>&1 | tee build-output.log
139124 BUILD_EXIT=${PIPESTATUS[0]}
@@ -156,13 +141,6 @@ jobs:
156141 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
157142 GITHUB_ACTIONS : ' true'
158143 run : |
159- if [ -n "$SFW_BIN" ]; then
160- mkdir -p /tmp/sfw-bin
161- printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
162- chmod +x /tmp/sfw-bin/pnpm
163- export PATH="/tmp/sfw-bin:$PATH"
164- fi
165-
166144 BUILD_LOG=$(cat build-output.log 2>/dev/null || echo "No build output")
167145 TEST_LOG=$(cat test-output.log 2>/dev/null || echo "No test output")
168146
@@ -313,7 +291,7 @@ jobs:
313291 test-output.log
314292 retention-days : 7
315293
316- - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@da519693b701861bc0f9690a30f50af1a1dcd49c # main
294+ - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
317295 if : always()
318296
319297 notify :
0 commit comments