mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 file changed
+4
-4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user