mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:08:07 +08:00

Prior to this fix, any change to an automation would reset `pending_automations`, now we only do it if any value related to recurrence (start_date, interval, frequency, execute_at...) has been changed. It means that any trigger creating `pending_automations` now needs to manage them in the `on_update` callback.