mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-19 09:02:06 +02:00
fix error message
This commit is contained in:
parent
d3981cc0ec
commit
0feed42c54
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user