Allow commit author emails to be @[stu.]pku.edu.cn

This commit is contained in:
Ruihan Li
2023-11-01 13:26:26 +08:00
committed by Tate, Hongliang Tian
parent 0c7df54513
commit c5d04c41a2

View File

@ -7,7 +7,7 @@ mergeable:
validate:
- do: commit
message:
regex: ^.*(@antgroup\.com|@alibaba-inc\.com|@intel\.com)$
regex: ^.*(@antgroup\.com|@alibaba-inc\.com|@intel\.com|@pku\.edu\.cn|@stu\.pku\.edu\.cn)$
message: Check if the author emails belong to Ant Group or its partners
message_type: author_email
skip_merge: false # If true, will skip commit with message that includes 'Merge'