michaeljmarshall opened a new pull request #14226:
URL: https://github.com/apache/pulsar/pull/14226


   ### Motivation
   
   Many of our current Pulsar branches are not protected. They are vulnerable 
to accidental force pushes. We should not allow for any modification of history 
on our release branches.
   
   Further, it is important to update this check because we currently have 
several status checks that are not required. If a committer were not paying 
close attention, they could accidentally merge a PR that is not passing all 
tests. Here is an example: 
https://github.com/apache/pulsar/pull/14158#issuecomment-1035637925.
   
   I followed the instructions here 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-BranchProtection
 when drafting this PR.
   
   ### Modifications
   
   * Update the `.asf.yaml` file.
   ** There are instructions here: 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-BranchProtection
   
   ### Verifying this change
   
   I opened this ASF Infra Jira ticket 
https://issues.apache.org/jira/browse/INFRA-22833 to discuss the current 
protections for our branches. 
   
   Checking with ASF infra is important because otherwise we could overwrite 
current protections:
   
   > NB (1): Enabling any of the above checks overrides what you may have set 
previously, so you'll need to add all the existing checks to your .asf.yaml to 
reproduce any that Infra set manually for you.
   
   ### Does this pull request potentially affect one of the following parts:
   
   This PR only affects the GitHub repo management.
   
   ### Documentation
   
   We don't need documentation for this feature. The git history should be 
sufficient.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to