From 5412fb493d9fa1c0f96e6e948f4561d14f7baf53 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Mon, 18 Jul 2022 12:13:19 +0200 Subject: [PATCH] Change protection rules for airflow-site repository (#639) We pretty much never are able to review airflow-sites changes anyway and we do not need to protect the branch as we do not release software from it - just produce documentation. The protection rules are now: * you cannot push directly to `main` * you need a PR with successful checks * the PR must be up-to-date (i.e. based on latest main) * no need for approval from other committers --- .asf.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index e774ac05386..00e70a680c4 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -32,8 +32,9 @@ github: protected_branches: main: - required_pull_request_reviews: - required_approving_review_count: 1 + required_status_checks: + strict: true + required_linear_history: true ghp_branch: gh-pages