Skip to content

Commit

Permalink
[patch] change regex to reduce errors (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh authored Oct 16, 2023
1 parent 1a3d347 commit a8dbf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autolink_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
base-branch-regex: '[A-Za-z\d-_.\\/]+'
head-branch-regex: '^([A-Za-z])+-\d+'
head-branch-regex: '([A-Za-z]{2,3})-(\d{1,5})'
title-template: "%headbranch%: "
body-template: |
Jira issue: [%headbranch%](https://medibank.atlassian.net/browse/%headbranch%)
Expand Down

0 comments on commit a8dbf63

Please sign in to comment.