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
This commit is contained in:
Chiichen 2024-04-28 19:37:58 +08:00 committed by GitHub
parent 942cf26b48
commit ab53b2eb75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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