0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-19 22:02:55 +02:00

fix error message

This commit is contained in:
Christopher Homberger 2025-05-05 18:16:36 +02:00
parent d3981cc0ec
commit 0feed42c54

View File

@ -173,7 +173,7 @@ func (run *ActionRun) GetWorkflowRunEventPayload() (*api.WorkflowRunPayload, err
} }
return &payload, nil return &payload, nil
} }
return nil, fmt.Errorf("event %s is not a pull request event", run.Event) return nil, fmt.Errorf("event %s is not a workflow run event", run.Event)
} }
func (run *ActionRun) IsSchedule() bool { func (run *ActionRun) IsSchedule() bool {