Skip to content

Commit

Permalink
Change protection rules for airflow-site repository (apache#639)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
potiuk authored Jul 18, 2022
1 parent 95e01a0 commit 5412fb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5412fb4

Please sign in to comment.