]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
.github/workflows: Allow capital letters in files
authorCezar Craciunoiu <cezar.craciunoiu@gmail.com>
Thu, 30 May 2024 07:38:46 +0000 (10:38 +0300)
committerUnikraft Bot <monkey@unikraft.io>
Fri, 31 May 2024 05:07:19 +0000 (05:07 +0000)
Previously, adding files like the README to a commit would
make the check fail, which is wrong.

Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1435

.github/workflows/commit-format-check.yaml

index 5ea59251cedb194a31210661054d3c122e8db863..df79fcb581fa04fba6d428504f34996593307927 100644 (file)
@@ -25,7 +25,7 @@ jobs:
         if: always()
         uses: gsactions/commit-message-checker@v2
         with:
-          pattern: '^((([a-z0-9\/\.\-\_\*])+)|(\{([a-z0-9\/\.\-\_\*]+, )+[a-z0-9\/\.\-\_\*]+\})){1}: [A-Z0-9].*'
+          pattern: '^((([a-zA-Z0-9\/\.\-\_\*])+)|(\{([a-zA-Z0-9\/\.\-\_\*]+, )+[a-zA-Z0-9\/\.\-\_\*]+\})){1}: [A-Z0-9].*'
           error: 'The PR title must follow the conventional commits format.'
           excludeDescription: 'true'
           excludeTitle: 'false'