Skip to content

refactor(xmlupload): serialise values in classes #7522

refactor(xmlupload): serialise values in classes

refactor(xmlupload): serialise values in classes #7522

Workflow file for this run

---
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