Skip to content

Commit c97e1f5

Browse files
authored
Merge pull request #462 from preactjs/ci/disable-publish-workflow-cache
ci: harden trusted publish workflow
2 parents eb871c8 + 898796a commit c97e1f5

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Request review for GitHub configuration changes.
2+
.github/ @JoviDeCroock

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ 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
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2727
fetch-depth: 0
2828

2929
- name: Install Node.js
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3131
with:
32+
package-manager-cache: false
3233
node-version: 22
3334
registry-url: "https://registry.npmjs.org"
3435

@@ -65,13 +66,14 @@ jobs:
6566
runs-on: ubuntu-latest
6667
steps:
6768
- name: Checkout
68-
uses: actions/checkout@v4
69+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6970
with:
7071
persist-credentials: false
7172

7273
- name: Install Node.js
73-
uses: actions/setup-node@v4
74+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7475
with:
76+
package-manager-cache: false
7577
node-version: 22
7678
registry-url: "https://registry.npmjs.org"
7779

0 commit comments

Comments
 (0)