Skip to content

Commit

Permalink
Update pr_jira_check.yml
Browse files Browse the repository at this point in the history
Use pull_request_target instead.
  • Loading branch information
sm6srw authored May 6, 2024
1 parent a8b023d commit ff84dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_jira_check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Jira ticket check

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

jobs:
Expand All @@ -21,4 +21,4 @@ jobs:
titleRegex: '^DYN-(?<ticketNumber>\d+)'
branchRegex: '^DYN-(?<ticketNumber>\d+)'
bodyRegex: 'DYN-(?<ticketNumber>\d+)'
bodyURLRegex: 'http(s?):\/\/(jira.autodesk.com)(\/browse)\/(DYN\-)(?<ticketNumber>\d+)'
bodyURLRegex: 'http(s?):\/\/(jira.autodesk.com)(\/browse)\/(DYN\-)(?<ticketNumber>\d+)'

0 comments on commit ff84dcd

Please sign in to comment.