mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 01:58:45 -05:00
build: set persist-credentials: false on workflows
Out of extra caution, instruct `actions/checkout` to not save GitHub authentication credentials in the git config for use by future steps. PR-URL: https://github.com/nodejs/node/pull/40972 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
b1f785cd72
commit
70fd4a15fc
19 files changed
+53
-1
No files matched your search
@@ -17,6 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
|
||||
persist-credentials: false
|
||||
- run: git reset HEAD^2
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v2
|
||||
|
||||
Reference in new issue
Block a user