0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 06:18:39 +01:00
gitea/models/repo
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.
2024-01-12 21:50:38 +00:00
..
archiver.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
attachment_test.go
attachment.go
avatar.go
collaboration_test.go
collaboration.go
fork_test.go
fork.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
pushmirror.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
redirect_test.go
redirect.go
release_test.go
release.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
repo_indexer.go
repo_list_test.go
repo_list.go
repo_test.go
repo_unit_test.go
repo_unit.go Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
repo.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
search.go
star_test.go
star.go
topic_test.go
topic.go Add orphaned topic consistency check (#28507) 2023-12-18 15:32:08 +00:00
update.go
upload.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
user_repo_test.go
user_repo.go
watch_test.go
watch.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
wiki_test.go
wiki.go