Browse Source

Improve version check regex

Jad Bitar 9 years ago
parent
commit
3e0b3818b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .varci.yml

+ 1 - 1
.varci.yml

@@ -38,7 +38,7 @@ ruleset:
     when:
       - action = "opened" or action = "re-opened"
       - body matches "/\[x\] bug/"
-      - 'not(body matches "/CakePHP Version: (\d+\.)?(\d+\.)?(\*|\d+)/")'
+      - 'not(body matches "/CakePHP Version: v?(\d+\.)?(\d+\.)?(\*|\d+)/")'
       - 'not(body matches "/CakePHP Version: [0-9a-f]{5,40}/")'
     comment: '{{ user.login }}, please include the CakePHP version number you are using in your description. It helps us debug your issue.'