Skip to content

Commit 46e2b9d

Browse files
authored
chore(ci): bump socket-registry action refs to main (6147a08c) (#1164)
1 parent aca23a8 commit 46e2b9d

File tree

3 files changed

+11
-42
lines changed

3 files changed

+11
-42
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,11 @@ jobs:
119119
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
120120
CODE
121121
122-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
122+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
123123

124124
- name: Run lint
125125
shell: bash
126126
run: |
127-
alias pnpm="$SFW_BIN pnpm"
128127
pnpm --filter @socketsecurity/cli run check
129128
130129
type-check:
@@ -187,12 +186,11 @@ jobs:
187186
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
188187
CODE
189188
190-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
189+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
191190

192191
- name: Run type check
193192
shell: bash
194193
run: |
195-
alias pnpm="$SFW_BIN pnpm"
196194
pnpm --filter @socketsecurity/cli run type
197195
198196
# Sharded unit tests for faster CI.
@@ -262,13 +260,12 @@ jobs:
262260
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
263261
CODE
264262
265-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
263+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
266264

267265
- name: Build CLI
268266
working-directory: packages/cli
269267
shell: bash
270268
run: |
271-
alias pnpm="$SFW_BIN pnpm"
272269
pnpm run build
273270
274271
- name: Run unit tests (shard ${{ matrix.shard }})
@@ -277,7 +274,6 @@ jobs:
277274
env:
278275
SHARD: ${{ matrix.shard }}
279276
run: |
280-
alias pnpm="$SFW_BIN pnpm"
281277
pnpm test:unit --shard="$SHARD"/3
282278
283279
# E2E tests
@@ -347,13 +343,12 @@ jobs:
347343
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
348344
CODE
349345
350-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
346+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
351347

352348
- name: Build CLI
353349
working-directory: packages/cli
354350
shell: bash
355351
run: |
356-
alias pnpm="$SFW_BIN pnpm"
357352
pnpm run build
358353
359354
- name: Run e2e tests (shard ${{ matrix.shard }})
@@ -363,5 +358,4 @@ jobs:
363358
SOCKET_CLI_API_TOKEN: ${{ secrets.SOCKET_CLI_API_TOKEN }}
364359
SHARD: ${{ matrix.shard }}
365360
run: |
366-
alias pnpm="$SFW_BIN pnpm"
367361
pnpm run e2e-tests --shard="$SHARD"/2

.github/workflows/provenance.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ jobs:
5959

6060
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
6161

62-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
62+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
6363

6464
- name: Build CLI
6565
shell: bash
6666
run: |
67-
alias pnpm="$SFW_BIN pnpm"
6867
pnpm --filter @socketsecurity/cli run build
6968
7069
- name: Generate platform matrix
@@ -107,7 +106,7 @@ jobs:
107106

108107
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
109108

110-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
109+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
111110

112111
- name: Download CLI bundle
113112
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
@@ -122,7 +121,6 @@ jobs:
122121
MATRIX_PLATFORM: ${{ matrix.platform }}
123122
MATRIX_ARCH: ${{ matrix.arch }}
124123
run: |
125-
alias pnpm="$SFW_BIN pnpm"
126124
LIBC_FLAG=""
127125
if [ "$MATRIX_LIBC" = "musl" ]; then
128126
LIBC_FLAG="--libc=musl"
@@ -164,7 +162,7 @@ jobs:
164162

165163
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
166164

167-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
165+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
168166

169167
# Get versions for lock-stepped and independent packages.
170168
- name: Get versions
@@ -264,7 +262,6 @@ jobs:
264262
- name: Build CLI
265263
shell: bash
266264
run: |
267-
alias pnpm="$SFW_BIN pnpm"
268265
INLINED_PUBLISHED_BUILD=1 pnpm run build
269266
270267
- name: Publish @socketsecurity/cli

.github/workflows/weekly-update.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ jobs:
3838
node-version-file: .node-version
3939
cache: 'pnpm'
4040

41-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
41+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
4242

4343
- name: Check for npm updates
4444
id: check
4545
shell: bash
4646
run: |
47-
alias pnpm="$SFW_BIN pnpm"
4847
echo "Checking for npm package updates..."
4948
HAS_UPDATES=false
5049
NPM_UPDATES=$(pnpm outdated 2>/dev/null || true)
@@ -78,7 +77,7 @@ jobs:
7877
node-version-file: .node-version
7978
cache: 'pnpm'
8079

81-
- uses: SocketDev/socket-registry/.github/actions/install@da519693b701861bc0f9690a30f50af1a1dcd49c # main
80+
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
8281

8382
- name: Create update branch
8483
id: branch
@@ -90,7 +89,7 @@ jobs:
9089
git checkout -b "$BRANCH_NAME"
9190
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
9291
93-
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@da519693b701861bc0f9690a30f50af1a1dcd49c # main
92+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
9493
with:
9594
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
9695

@@ -101,13 +100,6 @@ jobs:
101100
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
102101
GITHUB_ACTIONS: 'true'
103102
run: |
104-
if [ -n "$SFW_BIN" ]; then
105-
mkdir -p /tmp/sfw-bin
106-
printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
107-
chmod +x /tmp/sfw-bin/pnpm
108-
export PATH="/tmp/sfw-bin:$PATH"
109-
fi
110-
111103
if [ -z "$ANTHROPIC_API_KEY" ]; then
112104
echo "ANTHROPIC_API_KEY not set - skipping automated update"
113105
echo "success=false" >> $GITHUB_OUTPUT
@@ -155,13 +147,6 @@ jobs:
155147
id: tests
156148
if: steps.update.outputs.success == 'true'
157149
run: |
158-
if [ -n "$SFW_BIN" ]; then
159-
mkdir -p /tmp/sfw-bin
160-
printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
161-
chmod +x /tmp/sfw-bin/pnpm
162-
export PATH="/tmp/sfw-bin:$PATH"
163-
fi
164-
165150
set +e
166151
pnpm build 2>&1 | tee build.log
167152
BUILD_EXIT=${PIPESTATUS[0]}
@@ -184,13 +169,6 @@ jobs:
184169
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
185170
GITHUB_ACTIONS: 'true'
186171
run: |
187-
if [ -n "$SFW_BIN" ]; then
188-
mkdir -p /tmp/sfw-bin
189-
printf '#!/bin/bash\nexec "%s" pnpm "$@"\n' "$SFW_BIN" > /tmp/sfw-bin/pnpm
190-
chmod +x /tmp/sfw-bin/pnpm
191-
export PATH="/tmp/sfw-bin:$PATH"
192-
fi
193-
194172
FAILURE_LOG="$(cat build.log test.log 2>/dev/null)"
195173
196174
set +e
@@ -338,7 +316,7 @@ jobs:
338316
test.log
339317
retention-days: 7
340318

341-
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@da519693b701861bc0f9690a30f50af1a1dcd49c # main
319+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
342320
if: always()
343321

344322
notify:

0 commit comments

Comments
 (0)