0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-19 00:29:59 +02:00
silverwind 81d63c63b4
fix(actions): cap dynamic matrix expansion at MaxJobNumPerRun
A matrix built from a dependent job's runtime output (fromJson(needs.*.outputs.*))
has no inherent size bound, so a large or buggy upstream output could insert an
arbitrary number of jobs in one transaction. The per-attempt AttemptJobIDs also
back the job-index URLs, which must stay below MaxJobNumPerRun. Skip the
expansion with a clear reason when the resulting jobs would exceed that limit.

Also rename a test variable that tripped the misspell linter and clarify the
deferred-placeholder commit-status comment.

Co-Authored-By: Claude (Opus 4.8) <noreply@anthropic.com>
2026-05-29 10:09:10 +02:00
..