File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments