1
0
Fork 0
forked from forgejo/forgejo

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

This reverts commit 403bb4bf48.
This commit is contained in:
Earl Warren 2024-03-25 16:07:17 +01:00
parent 23f68cad7e
commit 623c79dfd2
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 1 additions and 15 deletions

View file

@ -112,7 +112,6 @@ func CreateScheduleTask(ctx context.Context, cron *actions_model.ActionSchedule)
Ref: cron.Ref,
CommitSHA: cron.CommitSHA,
Event: cron.Event,
TriggerEvent: string(webhook_module.HookEventSchedule),
EventPayload: cron.EventPayload,
ScheduleID: cron.ID,
Status: actions_model.StatusWaiting,