mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
meta: store actions secrets in environment
PR-URL: https://github.com/nodejs/node/pull/53930 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
342a663d7a
commit
1864cddd0c
2 files changed
+14
-6
No files matched your search
@@ -86,11 +86,15 @@ jobs:
|
||||
run: |
|
||||
ncu-config set branch ${GITHUB_REF_NAME}
|
||||
ncu-config set upstream origin
|
||||
ncu-config set username "${{ secrets.GH_USER_NAME }}"
|
||||
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
|
||||
ncu-config set jenkins_token "${{ secrets.JENKINS_TOKEN }}"
|
||||
ncu-config set username "$USERNAME"
|
||||
ncu-config set token "$GH_TOKEN"
|
||||
ncu-config set jenkins_token "$JENKINS_TOKEN"
|
||||
ncu-config set repo "${REPOSITORY}"
|
||||
ncu-config set owner "${OWNER}"
|
||||
env:
|
||||
USERNAME: ${{ secrets.JENKINS_USER }}
|
||||
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
||||
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
|
||||
|
||||
- name: Start the Commit Queue
|
||||
run: ./tools/actions/commit-queue.sh ${{ env.OWNER }} ${{ env.REPOSITORY }} ${{ needs.get_mergeable_prs.outputs.numbers }}
|
||||
|
||||
Reference in new issue
Block a user