1
0
Fork 0
forgejo/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 009ca7223d)

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 chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
schedule_spec_list.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
status.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
task.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
task_list.go
task_output.go Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
task_step.go
tasks_version.go Reduce unnecessary DB queries for Actions tasks (#25199) 2023-07-24 06:11:27 +00:00
utils.go
utils_test.go
variable.go Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00