EPMRPP-85418 || Email is not sent to user when the user is deleted by the job #7
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
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 }} |