Skip to content

Commit

Permalink
Merge pull request #609 from linear-b/add-tickets-to-update-field
Browse files Browse the repository at this point in the history
add missing tickets variable
  • Loading branch information
PavelLinearB authored Nov 24, 2024
2 parents 25c3479 + 620171c commit fd6a714
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ automations:
has:
jira_ticket_in_title: {{ pr.title | includes(regex=r/\b[A-Za-z]+-\d+\b/) }}
jira_ticket_in_branch: {{ branch.name | includes(regex=r/\b[A-Za-z]+-\d+\b/) }}

tickets:
- {{branch.name | capture(regex=r/\b[A-Za-z]+-\d+\b/)}}
- {{pr.title | capture(regex=r/\b[A-Za-z]+-\d+\b/)}}

0 comments on commit fd6a714

Please sign in to comment.