Skip to content

Commit b65015a

Browse files
committed
tools: move ncu config to global for commit queue
Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #65132 Refs: #64343 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 73236f3 commit b65015a

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/commit-queue.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,14 @@ jobs:
7474
7575
- name: Configure @node-core/utils
7676
run: |
77-
ncu-config set branch "${GITHUB_REF_NAME}"
78-
ncu-config set upstream origin
79-
ncu-config set username "$USERNAME"
80-
ncu-config set token "$GITHUB_TOKEN"
81-
ncu-config set jenkins_token "$JENKINS_TOKEN"
82-
ncu-config set repo "${REPOSITORY}"
83-
ncu-config set owner "${GITHUB_REPOSITORY_OWNER}"
77+
# Keep the config outside the workspace so checkout does not remove it.
78+
ncu-config --global set branch "${GITHUB_REF_NAME}"
79+
ncu-config --global set upstream origin
80+
ncu-config --global set username "$USERNAME"
81+
ncu-config --global set token "$GITHUB_TOKEN"
82+
ncu-config --global set jenkins_token "$JENKINS_TOKEN"
83+
ncu-config --global set repo "${REPOSITORY}"
84+
ncu-config --global set owner "${GITHUB_REPOSITORY_OWNER}"
8485
env:
8586
USERNAME: ${{ secrets.JENKINS_USER }}
8687
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}

0 commit comments

Comments
 (0)