|
add protected-branch feature on pull-request page
* show commit-status if context is require status checks to pass. * disable merge if new commit-id has not `commit-status` ok on `Status-checkes`. * if some status includes required is not success, merge button is disabled. * if any required status is success, and some status not includes required, merge button is active, but button color is white. * if any required status is success, merge button is active, and button color is green.
patch-3
test
4.9
4.8
4.7.1
4.7
4.6
4.5
4.4
4.31.2
4.31.1
4.31.0
4.30.1
4.30.0
4.3
4.29.0
4.28.0
4.27.0
4.26.0
4.25.0
4.24.1
4.24.0
4.23.1
4.23.0
4.22.0
4.21.2
4.21.1
4.21.0
4.20.0
4.2.1
4.2
4.19.3
4.19.2
4.19.1
4.19.0
4.18.0
4.17.0
4.16.0
4.15.0
4.14.1
4.14
4.13
4.12.1
4.12
4.11
4.10
4.1
4.0
3.14
3.13
3.12
3.11
1.0.0
|
|---|
|
|
| src/main/scala/gitbucket/core/api/ApiBranchProtection.scala |
|---|
| src/main/scala/gitbucket/core/controller/PullRequestsController.scala |
|---|
| src/main/scala/gitbucket/core/service/ProtectedBrancheService.scala |
|---|
| src/main/scala/gitbucket/core/view/helpers.scala |
|---|
| src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html |
|---|
| src/main/webapp/assets/common/css/gitbucket.css |
|---|