Skip to content

Commit 32dbfbb

Browse files
authored
ci: harden trusted publish workflow (#207)
* ci: disable cache in publish workflow * ci: pin publish workflow actions
1 parent c72bf3b commit 32dbfbb

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424
with:
2525
persist-credentials: false
2626

2727
- name: Install Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2929
with:
30+
package-manager-cache: false
3031
node-version-file: package.json
3132
registry-url: "https://registry.npmjs.org"
3233

@@ -63,13 +64,14 @@ jobs:
6364
runs-on: ubuntu-latest
6465
steps:
6566
- name: Checkout
66-
uses: actions/checkout@v4
67+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6768
with:
6869
persist-credentials: false
6970

7071
- name: Install Node.js
71-
uses: actions/setup-node@v4
72+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7273
with:
74+
package-manager-cache: false
7375
node-version: 22
7476
registry-url: "https://registry.npmjs.org"
7577

0 commit comments

Comments
 (0)