From bd92a4d8a9a4d51af797c9e66ab0f074d926c4fe Mon Sep 17 00:00:00 2001 From: "Franky W." Date: Mon, 11 Mar 2024 16:06:16 +0100 Subject: [PATCH] Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1adc46a..7642fce 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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+