Lines Matching +full:github +full:- +full:token
3 > Stability: 1 - Experimental
5 *tl;dr: You can land pull requests by adding the `commit-queue` label to it.*
8 landing process by automating it via GitHub Actions. With it, collaborators can
9 land pull requests by adding the `commit-queue` label to a PR. All
10 checks will run via node-core-utils, and if the pull request is ready to land,
18 From a high-level, the Commit Queue works as follow:
20 1. Collaborators will add `commit-queue` label to pull requests ready to land
23 1. Check if the PR also has a `request-ci` label (if it has, skip this PR
27 3. Remove the `commit-queue` label
31 2. Add `commit-queue-failed` label to the PR
47 …guidelines or be a valid [`fixup!`](https://git-scm.com/docs/git-commit#Documentation/git-commit.t…
48 …will be correctly handled by the [`--autosquash`](https://git-scm.com/docs/git-rebase#Documentatio…
52 4. Only Jenkins CI and GitHub Actions are checked (V8 CI and CITGM are ignored)
56 The [action](../../.github/workflows/commit-queue.yml) will run on scheduler
64 1. if two Commit Queue Actions execution overlap, there's a high-risk that
73 `node-core-utils` is configured with a personal token and
74 a Jenkins token from
75 [@nodejs-github-bot](https://github.com/nodejs/github-bot).
76 `octokit/graphql-action` is used to fetch all pull requests with the
77 `commit-queue` label. The output is a JSON payload, so `jq` is used to turn
79 [`commit-queue.sh`](../../tools/actions/commit-queue.sh).
81 > The personal token only needs permission for public repositories and to read
82 > profiles, we can use the GITHUB_TOKEN for write operations. Jenkins token is
85 `commit-queue.sh` receives the following positional arguments:
91 a pull request with commit-queue set.
93 The script will iterate over the pull requests. `ncu-ci` is used to check if
94 the last CI is still pending, and calls to the GitHub API are used to check if
95 the PR is waiting for CI to start (`request-ci` label). The PR is skipped if CI
99 The script removes the `commit-queue` label. It then runs `git node land`,
101 `git node land --abort` is run, and then a `commit-queue-failed` label is added
118 Revert Queue as a follow-up.