Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Disable special branch protection rules and only prevent force pushes to master #17547

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[ci] Disable master branch protection rules
  • Loading branch information
nicoloboschi committed Sep 8, 2022
commit b31606f5c4298cd60b3cd32acf1461eb3dd17542
27 changes: 14 additions & 13 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ github:
# disable rebase button:
rebase: false
protected_branches:
master:
required_status_checks:
# master:
# required_status_checks:
# strict means "Require branches to be up to date before merging".
strict: false
# strict: false
# Contexts are the names of checks that must pass.
# See ./github/workflows/README.md for more documentation on this list.
contexts:
# contexts:
# - build
# - cpp-tests
# - Changed files check
Expand Down Expand Up @@ -79,17 +79,18 @@ github:
# - CI - System - Tiered JCloud
# - CI - System - Sql

required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: true
required_approving_review_count: 1

# squash or rebase must be allowed in the repo for this setting to be set to true.
required_linear_history: true

required_signatures: false
# required_pull_request_reviews:
# dismiss_stale_reviews: false
# require_code_owner_reviews: true
# required_approving_review_count: 1
#
# # squash or rebase must be allowed in the repo for this setting to be set to true.
# required_linear_history: true
#
# required_signatures: false

# The following branch protections only ensure that force pushes are not allowed
master: {}
branch-1.15: {}
branch-1.16: {}
branch-1.17: {}
Expand Down