mirror of
https://github.com/Smaug123/gitea-repo-config
synced 2025-10-06 07:58:39 +00:00
Support deletion of repos (#53)
This commit is contained in:
@@ -117,6 +117,9 @@ type internal SerialisedRepo =
|
||||
[<Description "If this repo is to be created natively on Gitea, the information about the repo.">]
|
||||
[<JsonProperty(Required = Required.Default)>]
|
||||
Native : Nullable<SerialisedNativeRepo>
|
||||
[<Description "Set this to true to delete the repo. dotnet-gitea-declarative will refuse to delete any repo that is absent from configuration; the workflow is to first set its `deleted` to `true` (whereupon dotnet-gitea-declarative will delete it from Gitea) and then to delete it from configuration.">]
|
||||
[<JsonProperty(Required = Required.Default)>]
|
||||
Deleted : Nullable<bool>
|
||||
}
|
||||
|
||||
[<RequireQualifiedAccess>]
|
||||
|
Reference in New Issue
Block a user