From 3ebf5be5da984959e7cbe2cb59f58fe09995d3df Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Tue, 19 Dec 2023 13:43:31 +0100 Subject: [PATCH] Paginate GitHub job runs to find all jobs, not only the first page Closes #25699 Signed-off-by: Alexander Schwartz --- .github/actions/upload-flaky-tests/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/upload-flaky-tests/action.yml b/.github/actions/upload-flaky-tests/action.yml index ec396396836..f0d94451fdd 100644 --- a/.github/actions/upload-flaky-tests/action.yml +++ b/.github/actions/upload-flaky-tests/action.yml @@ -32,7 +32,7 @@ runs: JOB_NAME="$JOB_NAME ($MATRIX)" fi - JOB_URL=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs --jq ".jobs | map(select(.name == \"$JOB_NAME\")) | .[].html_url") + JOB_URL=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs --paginate --jq ".jobs | map(select(.name == \"$JOB_NAME\")) | .[].html_url") echo "job_name=$JOB_NAME" >> job-summary.properties echo "job_url=$JOB_URL" >> job-summary.properties