From dce3a7c0f63339f2bd50a59c1594ac0751dd5dd7 Mon Sep 17 00:00:00 2001 From: Earl Warren <contact@earl-warren.org> Date: Thu, 18 Jan 2024 16:04:09 +0000 Subject: [PATCH] Revert "[ACTIONS] on.schedule: the event is always "schedule"" This reverts commit 9a08db699cf078b80cafd6fa31d2567f78a71c12. --- services/actions/notifier_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go index a94bf79023..63ae9c3aba 100644 --- a/services/actions/notifier_helper.go +++ b/services/actions/notifier_helper.go @@ -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,