Skip to content

EPMRPP-87515 - cherry-pick commits from feature-organizations branch #20

EPMRPP-87515 - cherry-pick commits from feature-organizations branch

EPMRPP-87515 - cherry-pick commits from feature-organizations branch #20

name: Update Jira Fix Version
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
sync-version-with-jira-issues:
if: startsWith(github.head_ref, 'rc/') && (github.base_ref == 'master' || github.base_ref == 'main')
runs-on: ubuntu-latest
steps:
- name: Pull Request Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: '0'
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: pip install -r https://raw.githubusercontent.com/reportportal/jira-versions-sync/main/requirements.txt
- name: Update Jira Issues
run: python3 -c "$(wget -q -O - https://raw.githubusercontent.com/reportportal/jira-versions-sync/main/main.py)"
env:
JIRA_SERVER: ${{ vars.JIRA_SERVER }}
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}