You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "ChristopherSchultz (via GitHub)" <gi...@apache.org> on 2026/06/01 14:07:15 UTC
Re: [PR] [INFRA] Set up default rulesets for default and release branches [tomcat]
ChristopherSchultz commented on code in PR #1008:
URL: https://github.com/apache/tomcat/pull/1008#discussion_r3334737183
##########
.asf.yaml:
##########
@@ -0,0 +1,20 @@
+github:
+ rulesets:
+ - name: "Default Branch Protection"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ - "release/*"
+ - "rel/*"
+ - "11.0.x"
Review Comment:
It looks like we might be able to do this with a quasi-regex like this: `[0-9]*` which just means "any branch name starting with a number". It might be a little dangerous if we forget and create a branch like "1st-try-fix-that-bug" and then we are stuck with it forever.
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org