Skip to content

Commit 31f980b

Browse files
committed
ci: checkout with persist-credentials: false
1 parent ba72ef0 commit 31f980b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/nodejs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- macOS-latest
2727
steps:
2828
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
29+
with:
30+
persist-credentials: false
2931
- name: Use Node.js ${{ matrix.node }}
3032
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
3133
with:

.github/workflows/publish-npm.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ on:
44
types: [created]
55
jobs:
66
build:
7+
name: "Publish to NPM"
78
runs-on: ubuntu-latest
89
permissions:
910
contents: read
1011
id-token: write
1112
steps:
1213
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
14+
with:
15+
persist-credentials: false
1316
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
1417
with:
1518
node-version: 20

0 commit comments

Comments
 (0)