File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ permissions:
2727jobs :
2828 ci :
2929 name : Run CI Pipeline
30- uses : SocketDev/socket-registry/.github/workflows/ci.yml@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
30+ uses : SocketDev/socket-registry/.github/workflows/ci.yml@ed3119078118d558f095e9adf8800263166d65f9 # main
3131 with :
3232 test-setup-script : ' pnpm run build'
3333 lint-script : ' pnpm run lint --all'
4646 runs-on : ubuntu-latest
4747 timeout-minutes : 10
4848 steps :
49- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
49+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@ed3119078118d558f095e9adf8800263166d65f9 # main
5050
5151 - name : Build project
5252 run : pnpm run build
Original file line number Diff line number Diff line change 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
1823permissions :
1924 contents : write # Push git tags and create GitHub releases
2025 id-token : write # NPM trusted publishing via OIDC
2126
2227jobs :
2328 publish :
24- uses : SocketDev/socket-registry/.github/workflows/provenance.yml@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
29+ uses : SocketDev/socket-registry/.github/workflows/provenance.yml@ed3119078118d558f095e9adf8800263166d65f9 # main
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 }}
Original file line number Diff line number Diff line change 2424 outputs :
2525 has-updates : ${{ steps.check.outputs.has-updates }}
2626 steps :
27- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
27+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@ed3119078118d558f095e9adf8800263166d65f9 # main
2828
2929 - name : Check for npm updates
3030 id : check
4848 contents : write
4949 pull-requests : write
5050 steps :
51- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
51+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@ed3119078118d558f095e9adf8800263166d65f9 # main
5252
5353 - name : Create update branch
5454 id : branch
6060 git checkout -b "$BRANCH_NAME"
6161 echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
6262
63- - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
63+ - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@ed3119078118d558f095e9adf8800263166d65f9 # main
6464 with :
6565 gpg-private-key : ${{ secrets.BOT_GPG_PRIVATE_KEY }}
6666
@@ -295,7 +295,7 @@ jobs:
295295 test-output.log
296296 retention-days : 7
297297
298- - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
298+ - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@ed3119078118d558f095e9adf8800263166d65f9 # main
299299 if : always()
300300
301301 notify :
You can’t perform that action at this time.
0 commit comments