mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
tools: make checkout credential use explicit
Disable credential persistence for CodeQL. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66013 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
1 parent
b8c5283cbc
commit
d55d30313b
2 files changed
+3
No files matched your search
@@ -25,6 +25,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
||||
@@ -188,6 +188,7 @@ jobs:
|
||||
# to be set here because `checkout` configures GitHub authentication
|
||||
# for push as well.
|
||||
token: ${{ secrets.GH_USER_TOKEN }}
|
||||
persist-credentials: true
|
||||
|
||||
- name: Start the Commit Queue
|
||||
if: steps.get_mergeable_prs.outputs.numbers != ''
|
||||
|
||||
Reference in new issue
Block a user