mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -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
@@ -26,6 +26,7 @@ jobs:
|
||||
# Needs the whole git history for ncu to work
|
||||
# See https://github.com/nodejs/node-core-utils/pull/486
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
# A personal token is required because pushing with GITHUB_TOKEN will
|
||||
# prevent commits from running CI after they land. It needs
|
||||
# to be set here because `checkout` configures GitHub authentication
|
||||
|
||||
Reference in new issue
Block a user