chore: release 9.2.0 #7539
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: 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 |