You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/actions
Lunny Xiao 97292da960
Fix schedule tasks bugs (#28691)
Fix #28157 

This PR fix the possible bugs about actions schedule.

## The Changes

- Move `UpdateRepositoryUnit` and `SetRepoDefaultBranch` from models to
service layer
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when actions unit has been disabled
or global disabled.
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when default branch changed.
1 year ago
..
cleanup.go Artifacts retention and auto clean up (#26131) 1 year ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
commit_status.go Improve ObjectFormat interface (#28496) 1 year ago
init.go Move notification interface to services layer (#26915) 1 year ago
job_emitter.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
job_emitter_test.go Implement actions (#21937) 2 years ago
notifier.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
notifier_helper.go Fix schedule tasks bugs (#28691) 1 year ago
schedule_tasks.go Fix schedule tasks bugs (#28691) 1 year ago