This action match the Jira ticket fixversion and a PR target branch.
Required Github Token.
Comment message when no Fixversion found in Jira issue. If empty no comment will be created.
Comment message when no Fixversion found in Jira issue.
Required Jira URL.
Required Jira user.
Required Jira password.
name: 'Check Fixversion'
on:
pull_request
jobs:
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: outletcity/[email protected]
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NOT_FOUND_MESSAGE: "Keine Jira Ticket Version angegeben, bitte prüfen!"
JIRA_ISSUE_REGEX: ".*(TUB-\d+|ROOT-\d+).*"
JIRA_URL: ${{secrets.JIRA_URL}}
JIRA_USER: ${{secrets.JIRA_USER}}
JIRA_PASSWORD: ${{secrets.JIRA_PASSWORD}}