Revert "[ACTIONS] on.schedule: the event is always "schedule""

This reverts commit 9a08db699c.
This commit is contained in:
Earl Warren 2024-01-18 16:04:09 +00:00
parent 66a2d07ed2
commit dce3a7c0f6
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -463,7 +463,7 @@ func handleSchedules(
TriggerUserID: input.Doer.ID,
Ref: input.Repo.DefaultBranch,
CommitSHA: commit.ID.String(),
Event: webhook_module.HookEventType(api.HookScheduleCreated),
Event: input.Event,
EventPayload: string(p),
Specs: schedules,
Content: dwf.Content,