Skip to content

Commit 25443db

Browse files
committed
tools: allow triagers to queue a PR for CI until it's reviewed
PR-URL: #62524 Fixes: #62496 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent a9ac9b1 commit 25443db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auto-start-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
- name: Get Pull Requests
2929
id: get_prs_for_ci
3030
run: >
31-
numbers=$(gh pr list \
32-
--repo ${{ github.repository }} \
31+
echo "numbers=$(gh pr list \
32+
--repo "$GITHUB_REPOSITORY" \
3333
--label 'request-ci' \
3434
--json 'number' \
35+
--search 'review:approved' \
3536
-t '{{ range . }}{{ .number }} {{ end }}' \
36-
--limit 5)
37-
echo "numbers=$numbers" >> $GITHUB_OUTPUT
37+
--limit 5)" >> "$GITHUB_OUTPUT"
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
start-ci:

0 commit comments

Comments
 (0)