0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 06:24:35 +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_job_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
run_job.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
run_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
run.go Add a new column schedule_id for action_run to track (#26975) 2023-09-08 23:01:19 +08:00
runner_list.go
runner_token_test.go Add unit tests for action runner token (#27670) 2023-10-19 07:24:24 +00:00
runner_token.go Fix typo "GetLatestRunnerToken" (#27680) 2023-10-18 15:52:44 +00:00
runner.go Remove action runners on user deletion (#27902) 2023-11-05 13:48:32 +01:00
schedule_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
schedule_spec_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
schedule_spec.go chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
schedule.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
status.go
task_list.go
task_output.go
task_step.go
task.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
tasks_version.go Reduce unnecessary DB queries for Actions tasks (#25199) 2023-07-24 06:11:27 +00:00
utils_test.go
utils.go
variable.go