0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 20:34:34 +01:00
gitea/models/actions
Giteabot 28e3d0b0d3
Remove action runners on user deletion (#27902) (#27908)
Backport #27902 by @earl-warren

- On user deletion, delete action runners that the user has created.
- Add a database consistency check to remove action runners that have
nonexistent belonging owner.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1720

(cherry picked from commit 009ca7223dab054f7f760b7ccae69e745eebfabb)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-11-05 13:20:00 +00:00
..
artifact.go Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
run.go Add a new column schedule_id for action_run to track (#26975) 2023-09-08 23:01:19 +08:00
run_job.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
run_job_list.go
run_list.go
runner.go Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +00:00
runner_list.go
runner_token.go Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) 2023-09-28 04:15:53 +00:00
schedule.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
schedule_list.go chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
schedule_spec.go chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
schedule_spec_list.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
status.go
task.go
task_list.go
task_output.go
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go