Skip to content

Commit 12dd646

Browse files
committed
feat: update workflow
1 parent c51aa96 commit 12dd646

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Checkout repo
47-
uses: actions/checkout@v2
47+
uses: actions/checkout@v3
48+
with:
49+
persist-credentials: false
4850

4951
- name: Setup Node.js
5052
uses: actions/setup-node@v1
@@ -83,8 +85,9 @@ jobs:
8385
# Checkout fetch-depth: 2 because there's a check to see if package.json
8486
# was updated, and need at least 2 commits for the check to function properly
8587
- name: Checkout repo
86-
uses: actions/checkout@v2
88+
uses: actions/checkout@v3
8789
with:
90+
persist-credentials: false
8891
fetch-depth: 2
8992

9093
- name: Setup Node.js
@@ -204,8 +207,9 @@ jobs:
204207

205208
# Checkout specific branch we just committed third_party_notices too
206209
- name: Checkout repo
207-
uses: actions/checkout@v2
210+
uses: actions/checkout@v3
208211
with:
212+
persist-credentials: false
209213
ref: ${{ steps.extract_source.outputs.branch }}
210214

211215
- name: Setup Node.js

0 commit comments

Comments
 (0)