Skip to content

EPMRPP-84002 attachment file name #7

EPMRPP-84002 attachment file name

EPMRPP-84002 attachment file name #7

name: Update Jira Fix Version
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
sync-version-with-jira-issues:
if: 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 }}