From 2669ccd5ad811688abf02e89f9528084760abfcb Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Mon, 10 Feb 2025 20:36:16 +0100 Subject: [PATCH] Repo: Set status checks to strict (#1640) We just had an issue with merging a stale branch, which fixed @kevinjqliu right away in https://github.com/apache/iceberg-python/pull/1638 In `iceberg-rust` they have this nice button: image I think this is the result of the following config: https://github.com/apache/iceberg-rust/blob/63545895d2c35db0f0c550cb1c08acd52a9f5b4c/.asf.yaml#L36C10-L39C21 I don't think it would work well for Java because of the activity there, and the time it takes to run the Spark integration tests, but I would love to have this button here. --- .asf.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index adabab46f9..6dd2b79441 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -34,6 +34,10 @@ github: rebase: true protected_branches: main: + required_status_checks: + # strict means "Require branches to be up to date before merging". + strict: true + required_pull_request_reviews: required_approving_review_count: 1