summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Bird <glynn.bird@gmail.com>2021-11-10 12:18:18 +0000
committerGitHub <noreply@github.com>2021-11-10 07:18:18 -0500
commit5020dae5f479ed9f3f80ccff8631a5f2275f6fab (patch)
treef3a7e9f7b747abec621b4dc6cf4f3f42956d6a05
parent3e05ca5ec41c622f2d8a4f19bd93da3984461be2 (diff)
downloadcouchdb-5020dae5f479ed9f3f80ccff8631a5f2275f6fab.tar.gz
Protect release branches with .asf.yaml config (#3285)
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. Co-authored-by: Glynn Bird <glynnbird@apache.org> Co-authored-by: Adam Kocoloski <kocolosk@apache.org>
-rw-r--r--.asf.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/.asf.yaml b/.asf.yaml
index 66715b649..7414aaa99 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -21,6 +21,47 @@ github:
squash: true
rebase: true
merge: true
+ protected_branches:
+ 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