mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-20 14:26:09 +00:00
0a8b24c2b3
`app.example.ini` documented cron success notices with keys Gitea does not read: 1. `[cron.update_checker]` had `ENABLE_SUCCESS_NOTICE`, which never existed. 2. Six sections still had `NO_SUCCESS_NOTICE`, removed in https://github.com/go-gitea/gitea/pull/19221. Its `false` value also implied notices were on, while the default is off. Cron sections map onto `BaseConfig`, whose `NoticeOnSuccess` binds to `NOTICE_ON_SUCCESS`. This documents that key for every cron task, adds it to four sections that omitted it, and fixes the "Notice if not success" descriptions that inverted its meaning. Signed-off-by: Roshan Ramani <roshanramani.dev@gmail.com> Co-authored-by: silverwind <me@silverwind.io>