We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d28ac71 commit e535dc3Copy full SHA for e535dc3
.github/workflows/autocomment_jira_link.yaml
@@ -28,7 +28,8 @@ jobs:
28
29
CREATE_COMMENT_URL="https://api.github.com/repos/${REPO}/issues/${PR_NUMBER}/comments"
30
31
- JIRA_LINK="https://redislabs.atlassian.net/browse/${BRANCH_NAME}"
+ JIRA_TICKET=$(grep -Eo '^DOC-[0-9]+' <<< "$BRANCH_NAME")
32
+ JIRA_LINK="https://redislabs.atlassian.net/browse/${JIRA_TICKET}"
33
COMMENT="[${BRANCH_NAME}](${JIRA_LINK})"
34
35
generate_post_data()
0 commit comments