mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-05 18:07:35 +03:00
[Chore] Allow Style tags
This commit is contained in:
parent
0886062500
commit
978afec64a
@ -96,7 +96,7 @@ end
|
||||
|
||||
# Example: `[Chore][#123] My commit`
|
||||
def issue_tags_pattern
|
||||
/^(\[(#\d+|Chore)\])+ (?=\w)/
|
||||
/^(\[(#\d+|Chore|Style)\])+ (?=\w)/
|
||||
end
|
||||
|
||||
# Whether a string starts with an appropriate ticket tag.
|
||||
|
@ -24,7 +24,7 @@ mr_title_payload = githost.mr_title_payload
|
||||
unless has_valid_issue_tags(mr_title_payload)
|
||||
warn(
|
||||
"Inappropriate title for PR.\n"\
|
||||
"Should start from issue ID (e.g. `[#123]`) or `[Chore]` tag.\n"\
|
||||
"Should start from issue ID (e.g. `[#123]`), `[Chore]` or `[Style]` tag.\n"\
|
||||
"Note: please use `[Chore]` also for tickets tracked internally on YouTrack."
|
||||
)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user