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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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