You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/07/18 10:13:23 UTC

[airflow-site] branch main updated: Change protection rules for airflow-site repository (#639)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5412fb493d Change protection rules for airflow-site repository (#639)
5412fb493d is described below

commit 5412fb493d9fa1c0f96e6e948f4561d14f7baf53
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Jul 18 12:13:19 2022 +0200

    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 e774ac0538..00e70a680c 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