Explorar el Código

ci: update the match regex of issue checker (#784)

The previous regex can not successfully match the pattern like `feat(driver/pci)`, which has a slash in the scope
Chiichen hace 2 semanas
padre
commit
ab53b2eb75
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      .github/issue-checker.yml

+ 5 - 5
.github/issue-checker.yml

@@ -18,7 +18,7 @@ labels:
 # `feature`
 - name: enhance
   content: enhancement
-  regexes: '[Ff]eat(?:\([a-zA-Z]*\))?[\:\.\,]'
+  regexes: '[Ff]eat(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]'
   skip-if:
   - skip all
   remove-if:
@@ -26,7 +26,7 @@ labels:
 # `Bug fix`
 - name: bug-fix
   content: Bug fix
-  regexes: '[Ff]ix(?:\([a-zA-Z]*\))?[\:\.\,]'
+  regexes: '[Ff]ix(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]'
   skip-if:
   - skip all
   remove-if:
@@ -34,7 +34,7 @@ labels:
 # `document`
 - name: doc
   content: documentation
-  regexes: '[Dd]ocs(?:\([a-zA-Z]*\))?[\:\.\,]'
+  regexes: '[Dd]ocs(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]'
   skip-if:
   - skip all
   remove-if:
@@ -42,7 +42,7 @@ labels:
 # `test`
 - name: test
   content: test
-  regexes: '[Tt]est(?:\([a-zA-Z]*\))?[\:\.\,]'
+  regexes: '[Tt]est(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]'
   skip-if:
   - skip all
   remove-if:
@@ -59,4 +59,4 @@ labels:
   - skip ambiguous
   remove-if:
   - remove all
-  - remove ambiguous
+  - remove ambiguous