1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00

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, TriggerUserID: input.Doer.ID,
Ref: input.Repo.DefaultBranch, Ref: input.Repo.DefaultBranch,
CommitSHA: commit.ID.String(), CommitSHA: commit.ID.String(),
Event: webhook_module.HookEventType(api.HookScheduleCreated), Event: input.Event,
EventPayload: string(p), EventPayload: string(p),
Specs: schedules, Specs: schedules,
Content: dwf.Content, Content: dwf.Content,