0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-18 10:52:56 +02:00

use id from input

This commit is contained in:
Christopher Homberger 2025-05-14 20:19:13 +02:00
parent fe23a1d0da
commit e7a880685d

View File

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