Skip to content

Commit 5d97930

Browse files
committed
chore(ci): bump socket-registry action refs to main (6147a08c)
1 parent 28e42ca commit 5d97930

3 files changed

Lines changed: 7 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
ci:
2929
name: Run CI Pipeline
30-
uses: SocketDev/socket-registry/.github/workflows/ci.yml@da519693b701861bc0f9690a30f50af1a1dcd49c # main
30+
uses: SocketDev/socket-registry/.github/workflows/ci.yml@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
3131
with:
3232
test-setup-script: 'pnpm run build'
3333
lint-script: 'pnpm run lint --all'
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
timeout-minutes: 10
4848
steps:
49-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
49+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
5050
with:
5151
node-version: '24'
5252

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
publish:
24-
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@da519693b701861bc0f9690a30f50af1a1dcd49c # main
24+
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
2525
with:
2626
debug: ${{ inputs.debug }}
2727
package-name: '@socketsecurity/lib'

.github/workflows/weekly-update.yml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
@@ -49,7 +48,7 @@ jobs:
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
@@ -61,7 +60,7 @@ jobs:
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

@@ -73,14 +72,6 @@ jobs:
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

Comments
 (0)