0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 12:54:32 +01:00
gitea/services/user
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
..
avatar.go
delete.go Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +00:00
user.go Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
user_test.go