Skip to content

Commit 59dc794

Browse files
authored
chore(ci): bump socket-registry SHA to ed311907 (#54)
* chore(ci): bump socket-registry SHA to ed311907 * feat(ci): pipe publish-without-sfw and SOCKET_API_KEY to provenance workflow
1 parent 5d80f36 commit 59dc794

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
ci:
1919
name: Run CI Pipeline
20-
uses: SocketDev/socket-registry/.github/workflows/ci.yml@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
20+
uses: SocketDev/socket-registry/.github/workflows/ci.yml@ed3119078118d558f095e9adf8800263166d65f9 # main
2121
with:
2222
fail-fast: false
2323
lint-script: 'pnpm run lint --all'

.github/workflows/provenance.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ on:
1919
options:
2020
- '0'
2121
- '1'
22+
publish-without-sfw:
23+
description: 'Publish directly to npm, bypassing Socket firewall shims'
24+
required: false
25+
default: false
26+
type: boolean
2227

2328
permissions:
2429
contents: write
@@ -27,11 +32,14 @@ permissions:
2732

2833
jobs:
2934
publish:
30-
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
35+
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@ed3119078118d558f095e9adf8800263166d65f9 # main
3136
with:
3237
debug: ${{ inputs.debug }}
3338
dist-tag: ${{ inputs.dist-tag }}
3439
package-name: '@socketregistry/packageurl-js'
3540
publish-script: 'publish:ci'
41+
publish-without-sfw: ${{ inputs.publish-without-sfw }}
3642
setup-script: 'ci:validate'
3743
use-trusted-publishing: true
44+
secrets:
45+
SOCKET_API_KEY: ${{ secrets.SOCKET_API_KEY }}

.github/workflows/weekly-update.yml

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

@@ -290,7 +290,7 @@ jobs:
290290
test-output.log
291291
retention-days: 7
292292

293-
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
293+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@ed3119078118d558f095e9adf8800263166d65f9 # main
294294
if: always()
295295

296296
notify:

0 commit comments

Comments
 (0)