0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-22 17:33:16 +01:00
gitea/services
Davide 177f114aa2 Fix workflow_run events not creating commit statuses
Workflows triggered by `workflow_run` events did not produce commit
statuses because `getCommitStatusEventNameAndCommitID` had no case for
`HookEventWorkflowRun`. The function returned empty strings, so
`CreateCommitStatusForRunJobs` silently skipped status creation.

Add a `workflow_run` case that walks up the parent run chain (up to 5
levels) to find the original triggering event's commit SHA and attaches
the status there. This makes chained `workflow_run` workflows visible
in the commit status popover alongside the root workflow.
2026-02-13 16:58:12 +01:00
..
2026-01-31 22:01:08 -08:00
2026-01-24 05:11:49 +00:00
2026-01-24 05:11:49 +00:00
2025-10-19 00:37:50 +08:00
2026-01-31 22:01:08 -08:00