]> source.dussan.org Git - gitea.git/commit
Add a doctor check to disable the "Actions" unit for mirrors (#32424)
authorZettat123 <zettat123@gmail.com>
Sun, 10 Nov 2024 23:37:24 +0000 (07:37 +0800)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 23:37:24 +0000 (23:37 +0000)
commita910abbb451ea89b8279b43bd818a140fe0f3b51
treefa8331e97bd89bdbda925ff40e6ef54b00fc7b25
parenta928739456b78072136a1a264a68758571238aac
Add a doctor check to disable the "Actions" unit for mirrors (#32424)

Resolve #32232

Users can disable the "Actions" unit for all mirror repos by running
```
gitea doctor check --run  disable-mirror-actions-unit --fix
```
services/doctor/actions.go [new file with mode: 0644]