[TBM-413] refactor: get branch name in separate step #136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
jira_issue_required: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Automations Repository | |
uses: actions/checkout@v4 | |
- name: Check Whether PR/commit is associated to a Jira issue | |
uses: ./jira-issue-required | |
with: | |
jira_base_url: ${{ secrets.JIRA_BASE_URL }} | |
jira_user_email: ${{ secrets.JIRA_USER_EMAIL }} | |
jira_api_token: ${{ secrets.JIRA_API_TOKEN }} | |
jira_alternative_base_url: ${{ secrets.JIRA_ALTERNATIVE_BASE_URL }} | |
jira_alternative_user_email: ${{ secrets.JIRA_ALTERNATIVE_USER_EMAIL }} | |
jira_alternative_api_token: ${{ secrets.JIRA_ALTERNATIVE_API_TOKEN }} | |
jira_status_allowed_to_merge: ${{ vars.JIRA_STATUS_ALLOWED_TO_MERGE }} | |
default_hotfix_prefix: ${{ vars.default_hotfix_prefix }} | |
default_revert_prefix: ${{ vars.default_revert_prefix }} |