Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
frankywahl committed Mar 11, 2024
1 parent efe2a7a commit bd92a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Jira pull-request Github action

If the branch name of the current pull request starts with a Jira ticket:
If the branch name of the current pull request or the title starts with a Jira ticket:

- It adds the ticket number to the PR title
- It adds the Jira link to the PR description
- It also adds a preview link to the PR description if provided as `preview-link` input

If the branch name does not start with a Jira ticket:
If the branch name and the PR title does not start with a Jira ticket:

- The workflow will fail

Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

steps:
- name: Add Jira ticket to PR title / add links to PR description
uses: onrunning/jira-pr-action@v1
uses: onrunning/jira-pr-action@v2
with:
jira-account: account-name
ticket-regex: ^A1C-\\d+
Expand Down

0 comments on commit bd92a4d

Please sign in to comment.