tools: allow triagers to queue a PR for CI until it's reviewed

PR-URL: https://github.com/nodejs/node/pull/62524
Fixes: https://github.com/nodejs/node/issues/62496
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Antoine du Hamel committed 2026-04-02 16:47:50 +02:00
1 parent a9ac9b12ee
commit 25443db104
1 file changed
+4 -4
+4 -4
View File
@@ -28,13 +28,13 @@ jobs:
- name: Get Pull Requests
id: get_prs_for_ci
run: >
numbers=$(gh pr list \
--repo ${{ github.repository }} \
echo "numbers=$(gh pr list \
--repo "$GITHUB_REPOSITORY" \
--label 'request-ci' \
--json 'number' \
--search 'review:approved' \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 5)
echo "numbers=$numbers" >> $GITHUB_OUTPUT
--limit 5)" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
start-ci: