mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
更新 CI 规则
This commit is contained in:
parent
3a2ed52f18
commit
897a029b5e
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ $(CHANGE_FILE):
|
|||||||
|
|
||||||
rule-source-added:
|
rule-source-added:
|
||||||
[ $(shell grep '^A\s\+sources/(news|talk|tech)/\d{8} [a-zA-Z0-9_.,\-\(\)\[\] ]*\.md' $(CHANGE_FILE) | wc -l) -ge 1 ]
|
[ $(shell grep '^A\s\+sources/(news|talk|tech)/\d{8} [a-zA-Z0-9_.,\-\(\)\[\] ]*\.md' $(CHANGE_FILE) | wc -l) -ge 1 ]
|
||||||
[ $(shell grep -v '^A\s\+sources/(news|talk|tech)/\d{8} [a-zA-Z0-9_-.,\(\)\[\] ]*\.md' $(CHANGE_FILE) | wc -l) = 0 ]
|
[ $(shell grep -v '^A\s\+sources/(news|talk|tech)/\d{8} [a-zA-Z0-9_.,\-\(\)\[\] ]*\.md' $(CHANGE_FILE) | wc -l) = 0 ]
|
||||||
echo 'Rule Matched: $(@)'
|
echo 'Rule Matched: $(@)'
|
||||||
|
|
||||||
rule-translation-requested:
|
rule-translation-requested:
|
||||||
|
Loading…
Reference in New Issue
Block a user