0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 21:22:54 +01:00
gitea/models/actions
Earl Warren 59f9ef9fee
Remove action runners on user deletion (#27902)
- 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: Gusted <postmaster@gusted.xyz>
2023-11-05 13:48:32 +01:00
..
artifact.go Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
main_test.go Add unit tests for action runner token (#27670) 2023-10-19 07:24:24 +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 Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
run_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
runner.go Remove action runners on user deletion (#27902) 2023-11-05 13:48:32 +01:00
runner_list.go
runner_token.go Fix typo "GetLatestRunnerToken" (#27680) 2023-10-18 15:52:44 +00:00
runner_token_test.go Add unit tests for action runner token (#27670) 2023-10-19 07:24:24 +00:00
schedule.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
schedule_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
schedule_spec.go
schedule_spec_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
status.go
task.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
task_list.go
task_output.go
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go