| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Fast-track has been requested by @targos. Please 👍 to approve. |
Sorry, something went wrong.
There was a problem hiding this comment.
Rubber-stamp LGTM
Sorry, something went wrong.
|
Commit queue failed (https://github.com/nodejs/node/runs/4125859812?check_suite_focus=true) but it only commented on #40720 |
Sorry, something went wrong.
|
Last lines of the logs: To finish landing:
1. Run `git push origin master`
2. Post "Landed in 4d01716bcefe" in https://github.com/nodejs/node/pull/40734
+ [ -z --oneCommitMax ]
+ git log -1 --pretty=format:%s
+ git log -1 --pretty=format:%b
+ jq -n --arg title tools: update ESLint to 8.2.0 --arg body PR-URL: https://github.com/nodejs/node/pull/40734
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> {merge_method:"squash",commit_title:$title,commit_message:$body}
+ cat output.json
{
"merge_method": "squash",
"commit_title": "tools: update ESLint to 8.2.0",
"commit_message": "PR-URL: https://github.com/nodejs/node/pull/40734\nReviewed-By: Michaël Zasso <targos@protonmail.com>\nReviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>\nReviewed-By: Rich Trott <rtrott@gmail.com>"
}
+ mergeUrl 40734
+ echo https://api.github.com/repos/nodejs/node/pulls/40734/merge
+ gitHubCurl https://api.github.com/repos/nodejs/node/pulls/40734/merge PUT --data @output.json
+ url=https://api.github.com/repos/nodejs/node/pulls/40734/merge
+ method=PUT
+ shift 2
+ curl -fsL --request PUT --url https://api.github.com/repos/nodejs/node/pulls/40734/merge --header authorization: *** --header content-type: application/json --data @output.json
Error: Process completed with exit code 22.
|
Sorry, something went wrong.
|
Exit code 22 means that the HTTP response's code was >=400 |
Sorry, something went wrong.
|
I tried locally, the response code is 404 |
Sorry, something went wrong.
|
Sorry, something went wrong.
PR-URL: #40734 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
|
I tried landing #40664 (comment) using the CQ, and it crashed. However, trying the command manually succeeded for me, I wasn't able to reproduce the 404. Maybe it's token that we use is not allowed to merge PRs? |
Sorry, something went wrong.
|
I think we use the default token provided by GitHub. It's supposed to have read/write access to pull requests: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token |
Sorry, something went wrong.
|
We don't, we set a special one from the repo secrets: node/.github/workflows/commit-queue.yml Lines 29 to 33 in f367af4 |
Sorry, something went wrong.
|
That's not the one we pass to commit-queue.sh: node/.github/workflows/commit-queue.yml Line 81 in f367af4 |
Sorry, something went wrong.
|
According to the Set up job section, it does have write permissions: GITHUB_TOKEN Permissions Actions: write Checks: write Contents: write Deployments: write Discussions: write Issues: write Metadata: read Packages: write Pages: write PullRequests: write RepositoryProjects: write SecurityEvents: write Statuses: write Anyway it's very surprising the CQ was working on node-auto-test but doesn't on nodejs/node. Maybe it's related to one of the branch protection rules? None are setup on node-auto-test. |
Sorry, something went wrong.
Mmmh, that's possible. We do have a rule that only allows members of @nodejs/collaborators to push to the master branch. That makes me wonder how the commit queue ever worked, because obviously the github-actions bot is not a member of that team. |
Sorry, something went wrong.
That's probably when the GH_USER_TOKEN is used, according the comment above. |
Sorry, something went wrong.
|
Oh I see, the nodejs-github-bot account is in the collaborators team... Then the solution is probably to pass its token to the script instead of the default one. |
Sorry, something went wrong.
PR-URL: #40734 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #40734 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Update ESLint to 8.2.0