Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schedule tasks bugs (#28691) #28780

Merged
merged 1 commit into from
Jan 14, 2024

Commits on Jan 13, 2024

  1. Fix schedule tasks bugs (go-gitea#28691)

    Fix go-gitea#28157
    
    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.
    lunny committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    6df2c16 View commit details
    Browse the repository at this point in the history