mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: move ncu config to global for commit queue
Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65132 Refs: https://github.com/nodejs/node/pull/64343 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
This commit is contained in:
1 parent
cf7680efb7
commit
0d7c7936e7
1 file changed
+8
-7
@@ -74,13 +74,14 @@ jobs:
|
||||
|
||||
- name: Configure @node-core/utils
|
||||
run: |
|
||||
ncu-config set branch "${GITHUB_REF_NAME}"
|
||||
ncu-config set upstream origin
|
||||
ncu-config set username "$USERNAME"
|
||||
ncu-config set token "$GITHUB_TOKEN"
|
||||
ncu-config set jenkins_token "$JENKINS_TOKEN"
|
||||
ncu-config set repo "${REPOSITORY}"
|
||||
ncu-config set owner "${GITHUB_REPOSITORY_OWNER}"
|
||||
# Keep the config outside the workspace so checkout does not remove it.
|
||||
ncu-config --global set branch "${GITHUB_REF_NAME}"
|
||||
ncu-config --global set upstream origin
|
||||
ncu-config --global set username "$USERNAME"
|
||||
ncu-config --global set token "$GITHUB_TOKEN"
|
||||
ncu-config --global set jenkins_token "$JENKINS_TOKEN"
|
||||
ncu-config --global set repo "${REPOSITORY}"
|
||||
ncu-config --global set owner "${GITHUB_REPOSITORY_OWNER}"
|
||||
env:
|
||||
USERNAME: ${{ secrets.JENKINS_USER }}
|
||||
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
||||
|
||||
Reference in new issue
Block a user