Fix #28157 Backport #28691 This PR fix the possible bugs about actions schedule. - 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. |
||
|---|---|---|
| .. | ||
| artifact.go | ||
| run.go | ||
| run_job.go | ||
| run_job_list.go | ||
| run_list.go | ||
| runner.go | ||
| runner_list.go | ||
| runner_token.go | ||
| schedule.go | ||
| schedule_list.go | ||
| schedule_spec.go | ||
| schedule_spec_list.go | ||
| status.go | ||
| task.go | ||
| task_list.go | ||
| task_output.go | ||
| task_step.go | ||
| tasks_version.go | ||
| utils.go | ||
| utils_test.go | ||
| variable.go | ||