summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2021-11-10 02:15:01 +0000
committerAdam Kocoloski <kocolosk@apache.org>2021-11-10 02:15:01 +0000
commite9792e054aa86d25770e747898b64a0f48071522 (patch)
treec6d2b734013b8235d6ea0269af91cb26a931a9b1
parent1d741ed83b42b3dfae196df254c474deb85cadc8 (diff)
downloadcouchdb-protect_main_branch.tar.gz
Add branch protection for all release branchesprotect_main_branch
The intent here is to require "branch must be up to date before merge / squash / rebase", and to further require a clean bill of health from Jenkins for `main` and `3.x`. I'm not so confident about the CI health of older branches to enable that protection there, and at any rate it's unlikely we'd be committing anything to those branches anyway.
-rw-r--r--.asf.yaml41
1 files changed, 40 insertions, 1 deletions
diff --git a/.asf.yaml b/.asf.yaml
index a697812e2..7414aaa99 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -22,7 +22,46 @@ github:
rebase: true
merge: true
protected_branches:
- main
+ main:
+ required_status_checks:
+ strict: true
+ contexts:
+ - continuous-integration/jenkins/pr-merge
+ 3.x:
+ required_status_checks:
+ strict: true
+ contexts:
+ - continuous-integration/jenkins/pr-merge
+ 3.1.x:
+ required_status_checks:
+ strict: true
+ 3.0.x:
+ required_status_checks:
+ strict: true
+ 2.3.x:
+ required_status_checks:
+ strict: true
+ 2.1.x:
+ required_status_checks:
+ strict: true
+ 2.0.x:
+ required_status_checks:
+ strict: true
+ 1.6.x:
+ required_status_checks:
+ strict: true
+ 1.5.x:
+ required_status_checks:
+ strict: true
+ 1.4.x:
+ required_status_checks:
+ strict: true
+ 1.3.x:
+ required_status_checks:
+ strict: true
+ 1.x.x:
+ required_status_checks:
+ strict: true
notifications:
commits: commits@couchdb.apache.org