forgejo/routers/web/repo/setting
christopher-besch 81b5c7ca6f feat: move StopTask, CancelPreviousJobs and CleanRepoScheduleTasks to services/actions
This enables all action run state changes (from a not done to a done
state) to also send a notification.

Moved these:

- models/actions/task.go|423 col 6| func StopTask(ctx context.Context, taskID int64, status Status) error {
- models/actions/run.go|190 col 6| func CancelPreviousJobs(ctx context.Context, repoID int64, ref, workflowID string, event webhook_module.HookEventType) error {
- models/actions/schedule.go|122 col 6| func CleanRepoScheduleTasks(ctx context.Context, repo *repo_model.Repository, cancelPreviousJobs bool) error {
2025-04-10 08:38:27 +02:00
..
avatar.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
collaboration.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
default_branch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
deploy_key.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
git_hooks.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
lfs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_branch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_tag.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
runners.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
secrets.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
setting.go feat: move StopTask, CancelPreviousJobs and CleanRepoScheduleTasks to services/actions 2025-04-10 08:38:27 +02:00
settings_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
variables.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
webhook.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00