0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-14 01:55:37 +01:00
gitea/models/actions
Lunny Xiao 6e29242ebb
Fix schedule tasks bugs (#28691) (#28780)
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.
2024-01-14 23:54:22 +01:00
..
artifact.go
run.go Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
run_job.go
run_job_list.go
run_list.go Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
runner.go Only check online runner when detecting matching runners in workflows (#28286) (#28512) 2023-12-19 04:06:31 +00:00
runner_list.go
runner_token.go
schedule.go Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
schedule_list.go
schedule_spec.go
schedule_spec_list.go
status.go
task.go
task_list.go
task_output.go Fix no ActionTaskOutput table waring (#28149) (#28152) 2023-11-21 22:23:57 +08:00
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go