1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
Chri-s a2a49c93c7 Added checks for protected branches in pull requests (#3544)
* Added checks for protected branches in pull requests

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Moved check for protected branch into new function CheckUserAllowedToMerge

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Removed merge conflict lines from last commit

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Explicit check for error type in ViewIssue

Signed-off-by: Christian Wulff <NChris@posteo.net>
2018-03-13 11:46:14 +08:00
..
2018-03-13 10:03:55 +08:00
2018-03-13 10:03:55 +08:00
2017-01-25 10:43:02 +08:00
2017-12-30 18:47:52 -06:00
2015-12-08 00:57:46 +01:00
2017-01-25 10:43:02 +08:00
2017-12-30 18:47:52 -06:00
2017-12-30 18:47:52 -06:00