Skip to content

Commit

Permalink
BERT-E 580 support of bug prefixed branches (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet authored May 16, 2023
1 parent b674ee7 commit f7f304c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bert_e/workflow/gitwaterflow/branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ class ReleaseBranch(GWFBranch):

class FeatureBranch(GWFBranch):
all_prefixes = ('improvement', 'bugfix', 'feature', 'project',
'documentation', 'design', 'dependabot', 'epic')
'documentation', 'design', 'dependabot', 'epic',
'bug')
jira_issue_pattern = '(?P<jira_project>[a-zA-Z0-9_]+)-[0-9]+'
prefixes = '(?P<prefix>(%s))' % '|'.join(all_prefixes)
pattern = "^(?P<feature_branch>%s/(?P<label>(?P<jira_issue_key>%s)?" \
Expand Down

0 comments on commit f7f304c

Please sign in to comment.