aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-02-01 02:31:19 +0100
committerGitHub <noreply@github.com>2023-02-01 01:31:19 +0000
commitfaa96553d1dd5487b8d3682c8eac100580b321e3 (patch)
tree15a7a0d4ef006c48c19bef8ce1a6295ef67da16f /services/forms
parentb6145bfaa348cb90364837a0fa86421d26f93463 (diff)
downloadgitea-faa96553d1dd5487b8d3682c8eac100580b321e3.tar.gz
gitea-faa96553d1dd5487b8d3682c8eac100580b321e3.zip
Add repository setting to enable/disable releases unit (#22671)
To go along with similar settings for issues, pulls, projects, packages.
Diffstat (limited to 'services/forms')
-rw-r--r--services/forms/repo_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index c084e65600..436d79df68 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.go
@@ -146,6 +146,7 @@ type RepoSettingForm struct {
ExternalTrackerRegexpPattern string
EnableCloseIssuesViaCommitInAnyBranch bool
EnableProjects bool
+ EnableReleases bool
EnablePackages bool
EnablePulls bool
EnableActions bool