Skip to content

Commit 0c99f40

Browse files
committed
feat(ci): pipe publish-without-sfw and SOCKET_API_KEY to provenance workflow
1 parent 04f4804 commit 0c99f40

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/provenance.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
options:
1515
- '0'
1616
- '1'
17+
publish-without-sfw:
18+
description: 'Publish directly to npm, bypassing Socket firewall shims'
19+
required: false
20+
default: false
21+
type: boolean
1722

1823
permissions:
1924
contents: write # Push git tags and create GitHub releases
@@ -25,5 +30,8 @@ jobs:
2530
with:
2631
debug: ${{ inputs.debug }}
2732
package-name: '@socketsecurity/lib'
33+
publish-without-sfw: ${{ inputs.publish-without-sfw }}
2834
setup-script: 'pnpm run build'
2935
use-trusted-publishing: true
36+
secrets:
37+
SOCKET_API_KEY: ${{ secrets.SOCKET_API_KEY }}

0 commit comments

Comments
 (0)