diff options
author | Glynn Bird <glynn.bird@gmail.com> | 2021-11-10 12:18:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 07:18:18 -0500 |
commit | 5020dae5f479ed9f3f80ccff8631a5f2275f6fab (patch) | |
tree | f3a7e9f7b747abec621b4dc6cf4f3f42956d6a05 | |
parent | 3e05ca5ec41c622f2d8a4f19bd93da3984461be2 (diff) | |
download | couchdb-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.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -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 |