Fix auto concurrency cancellation skips commit status updates (#33764) (#33849)

Backport #33764
* add missing commit status
* conflicts with concurrency support
This commit is contained in:
ChristopherHX
2025-03-11 17:51:58 +01:00
committed by GitHub
parent 6f8e62fa9c
commit fc82204fca
10 changed files with 51 additions and 28 deletions

View File

@@ -55,7 +55,7 @@ func startTasks(ctx context.Context) error {
// cancel running jobs if the event is push
if row.Schedule.Event == webhook_module.HookEventPush {
// cancel running jobs of the same workflow
if err := actions_model.CancelPreviousJobs(
if err := CancelPreviousJobs(
ctx,
row.RepoID,
row.Schedule.Ref,