Add repository setting to enable/disable releases unit (#22671)

To go along with similar settings for issues, pulls, projects, packages.
This commit is contained in:
Brecht Van Lommel
2023-02-01 02:31:19 +01:00
committed by GitHub
parent b6145bfaa3
commit faa96553d1
4 changed files with 24 additions and 0 deletions

View File

@ -146,6 +146,7 @@ type RepoSettingForm struct {
ExternalTrackerRegexpPattern string
EnableCloseIssuesViaCommitInAnyBranch bool
EnableProjects bool
EnableReleases bool
EnablePackages bool
EnablePulls bool
EnableActions bool