Skip to content

refactor(xmlupload) create intermediary class structure for data #7903

refactor(xmlupload) create intermediary class structure for data

refactor(xmlupload) create intermediary class structure for data #7903

---
name: PR-Title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
pull-requests: read
jobs:
test:
name: Check PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: check presence of Linear ticket in PR title
run: |
import re, os, sys
rgx = r"^.+\((DEV|RDU)-[0-9]+(, (DEV|RDU)-[0-9]+)*\)$|^(chore|refactor|docs|test|fix).+"
if not re.match(rgx, os.environ["PR_TITLE"]):
print(f"PR title '{os.environ['PR_TITLE']}' does not match the regex")
sys.exit(1)
env:
PR_TITLE: ${{ github.event.pull_request.title }}
shell: python