This is an automated email from the ASF dual-hosted git repository.

jiacai2050 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/horaedb.git


The following commit(s) were added to refs/heads/main by this push:
     new e42276c0 chore: support type `test`, `build` and `style` in pr title 
(#1581)
e42276c0 is described below

commit e42276c07f7b5bc226e7a5b857544ebd2f96594b
Author: Leslie Su <[email protected]>
AuthorDate: Fri Oct 25 10:53:53 2024 +0800

    chore: support type `test`, `build` and `style` in pr title (#1581)
    
    ## Rationale
    Close #1575
    
    ## Detailed Changes
    Update the check-pr-title pattern to include type `test`, `style` and
    `build`.
    
    ## Test Plan
    No need.
---
 .github/workflows/check-pr-title.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/check-pr-title.yml 
b/.github/workflows/check-pr-title.yml
index d955dee5..fd60a1bd 100644
--- a/.github/workflows/check-pr-title.yml
+++ b/.github/workflows/check-pr-title.yml
@@ -30,7 +30,7 @@ jobs:
         with:
           script: |
             const title = context.payload.pull_request.title;
-            const regex = /^(feat|fix|docs|refactor|chore)(\(.+\))?!?: .+$/; 
+            const regex = 
/^(feat|fix|docs|refactor|chore|test|style|build)(\(.+\))?!?: .+$/; 
             if (!regex.test(title)) {
               core.setFailed('PR title does not follow the convention, the 
pattern: ^(feat|fix|docs|refactor|chore)(\(.+\))?!?: .+$');
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to