mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-19 23:38:29 +02:00
...
This commit is contained in:
parent
cb26830819
commit
fe23a1d0da
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user