Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DynamoDS/Dynamo into dyn6893
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkkirschner committed May 6, 2024
2 parents 6564bd0 + a6c07fa commit 5f79d1f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr_jira_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Jira ticket check

on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']

jobs:
title:
name: Missing Jira ticket check
runs-on: ubuntu-latest

steps:

- name: Check for ticket
uses: neofinancial/ticket-check-action@v2

with:
token: ${{ secrets.GITHUB_TOKEN }}
ticketLink: 'https://jira.autodesk.com/browse/DYN-%ticketNumber%'
ticketPrefix: 'DYN-'
titleRegex: '^DYN-(?<ticketNumber>\d+)'
branchRegex: '^DYN-(?<ticketNumber>\d+)'
bodyRegex: 'DYN-(?<ticketNumber>\d+)'
bodyURLRegex: 'http(s?):\/\/(jira.autodesk.com)(\/browse)\/(DYN\-)(?<ticketNumber>\d+)'

0 comments on commit 5f79d1f

Please sign in to comment.