From 3fb44f941362eb4524ac5e39f13d589cf11a505b Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 26 Oct 2022 06:51:45 +0100 Subject: [PATCH] build: add GitHub token to auto-start-ci workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: https://github.com/nodejs/node-core-utils/pull/652 PR-URL: https://github.com/nodejs/node/pull/45185 Fixes: https://github.com/nodejs/node/issues/45163 Reviewed-By: Jiawen Geng Reviewed-By: Rich Trott Reviewed-By: Michaƫl Zasso --- .github/workflows/auto-start-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml index 1fceea7272cbdd..32fb224b97928e 100644 --- a/.github/workflows/auto-start-ci.yml +++ b/.github/workflows/auto-start-ci.yml @@ -60,7 +60,7 @@ jobs: - name: Setup node-core-utils run: | ncu-config set username ${{ secrets.JENKINS_USER }} - ncu-config set token none + ncu-config set token "${{ secrets.GH_USER_TOKEN }}" ncu-config set jenkins_token ${{ secrets.JENKINS_TOKEN }} ncu-config set owner "${{ github.repository_owner }}" ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"