atpugtihsrah commented on code in PR #28643:
URL: https://github.com/apache/flink/pull/28643#discussion_r4573690122


##########
.asf.yaml:
##########
@@ -13,6 +13,18 @@ github:
     - sql
   collaborators:
     - flinkbot
+  rulesets:
+    - name: "Default and Release Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release-*"
+        excludes: [ ]
+      bypass_teams:
+        - root
+      restrict_deletion: true

Review Comment:
   Nic thanks for the review and apologies that it took this long to respond.
   
   These values came from the original bot-generated PR, which I took over. I 
kept them on purpose because I also see them as valuable. They're the defaults 
in the convenience syntax today, but this ruleset exists to prevent deleting or 
force-pushing the default and release-* branches. Spelling the values out keeps 
that intent visible in the config. It also means the protection can't silently 
go away if Infra changes the defaults. The cost is two redundant lines, and I'm 
happy to remove them if you think that's cleaner.



-- 
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