Compare commits
1 Commits
a8782430d9
...
e15e10b5db
Author | SHA1 | Date | |
---|---|---|---|
e15e10b5db |
@ -14,7 +14,8 @@ jobs:
|
|||||||
- name: Check PR title
|
- name: Check PR title
|
||||||
run: |
|
run: |
|
||||||
title="${{ gitea.event.pull_request.title }}"
|
title="${{ gitea.event.pull_request.title }}"
|
||||||
if [[ ! "$title" =~ "^(BLOG-[0-9]+|NO-ISSUE) [A-Z].+$" ]]; then
|
echo "Checking PR title: $title"
|
||||||
|
if [[ ! "$title" =~ ^(BLOG-[0-9]+|NO-ISSUE) [A-Z].+$ ]]; then
|
||||||
echo 'The title is not meet the format `BLOG-XXX Title title title`'
|
echo 'The title is not meet the format `BLOG-XXX Title title title`'
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user