From 3214c7c13ed1d653bdba1a5c658de25cbc0501ea Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Wed, 16 Oct 2024 07:56:45 -0400 Subject: [PATCH 1/2] Protect the master branch to avoid accidental commits --- .asf.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 4110a1d10..cf4ae1405 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -35,3 +35,8 @@ notifications: issues: issues@maven.apache.org pullrequests: issues@maven.apache.org jira_options: link label comment +protected_branches: + master: + required_pull_request_reviews: + required_approving_review_count: 1 + required_linear_history: true From 9a0cd1275694c5f442a11ca84fb09bdc0fd01a14 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Wed, 16 Oct 2024 08:03:53 -0400 Subject: [PATCH 2/2] move --- .asf.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index cf4ae1405..b9c8cfc7e 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -30,13 +30,14 @@ github: rebase: true autolink_jira: - MDEP + protected_branches: + master: + required_pull_request_reviews: + required_approving_review_count: 1 + required_linear_history: true notifications: commits: commits@maven.apache.org issues: issues@maven.apache.org pullrequests: issues@maven.apache.org jira_options: link label comment -protected_branches: - master: - required_pull_request_reviews: - required_approving_review_count: 1 - required_linear_history: true +