0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-19 23:38:29 +02:00
This commit is contained in:
Christopher Homberger 2025-05-14 20:17:51 +02:00
parent cb26830819
commit fe23a1d0da

View File

@ -269,7 +269,7 @@ func skipWorkflows(ctx context.Context, input *notifyInput, commit *git.Commit)
if wrun.WorkflowRun.Event != "workflow_run" { if wrun.WorkflowRun.Event != "workflow_run" {
return false return false
} }
r, _ := actions_model.GetRunByID(ctx, wrun.WorkflowRun.ID) r, _ := actions_model.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, wrun.WorkflowRun.Repository.ID)
var err error var err error
wrun, err = r.GetWorkflowRunEventPayload() wrun, err = r.GetWorkflowRunEventPayload()
if err != nil { if err != nil {