From b1f2f37a8a65ce0c0e223ab164263bbd2e32b189 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 30 Jul 2023 15:46:09 +0100 Subject: [PATCH] protect 1.0.x branch (#513) --- .asf.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 9889f63497..68a94a6f01 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -46,6 +46,18 @@ github: dismiss_stale_reviews: false require_code_owner_reviews: false required_approving_review_count: 1 + 1.0.x: + required_status_checks: + # strict means "Require branches to be up to date before merging". + strict: false + # contexts are the names of checks that must pass + contexts: + - Code is formatted + - Check headers + required_pull_request_reviews: + dismiss_stale_reviews: false + require_code_owner_reviews: false + required_approving_review_count: 1 notifications: commits: commits@pekko.apache.org