]> source.dussan.org Git - gitea.git/commit
Add branch protection option to block merge on requested changes. (#9592)
authorDavid Svantesson <davidsvantesson@gmail.com>
Fri, 3 Jan 2020 17:47:10 +0000 (18:47 +0100)
committerLauris BH <lauris@nix.lv>
Fri, 3 Jan 2020 17:47:09 +0000 (19:47 +0200)
commitea707f5a77d83d023cb02ce8e44c4b95ac83ef30
treefdebe0cc3d2b0e41cf8c7932ae446a2e3c500bbc
parentb39fab41c8b315ba7ddf9f9a4cc522385cf9f720
Add branch protection option to block merge on requested changes. (#9592)

* Add branch protection option to block merge on requested changes.

* Add migration step

* Fix check to correct negation

* Apply suggestions from code review

Language improvement.

Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Copyright year.

Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
models/branches.go
models/migrations/migrations.go
models/migrations/v117.go [new file with mode: 0644]
modules/auth/repo_form.go
options/locale/locale_en-US.ini
routers/private/hook.go
routers/repo/issue.go
routers/repo/setting_protected_branch.go
templates/repo/issue/view_content/pull.tmpl
templates/repo/settings/protected_branch.tmpl