Skip to content

Commit 3ebf5be

Browse files
ahus1abstractj
authored andcommitted
Paginate GitHub job runs to find all jobs, not only the first page
Closes keycloak#25699 Signed-off-by: Alexander Schwartz <[email protected]>
1 parent baafb67 commit 3ebf5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/upload-flaky-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
JOB_NAME="$JOB_NAME ($MATRIX)"
3333
fi
3434
35-
JOB_URL=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs --jq ".jobs | map(select(.name == \"$JOB_NAME\")) | .[].html_url")
35+
JOB_URL=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs --paginate --jq ".jobs | map(select(.name == \"$JOB_NAME\")) | .[].html_url")
3636
3737
echo "job_name=$JOB_NAME" >> job-summary.properties
3838
echo "job_url=$JOB_URL" >> job-summary.properties

0 commit comments

Comments
 (0)