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:
parent
fe23a1d0da
commit
e7a880685d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user