This will take care of your PR naming, if it is matched with the regex pattern you have given or not
name: Delete Tag
on:
pull_request:
types: [opened, synchronize, reopened, edited]
branches:
- master
jobs:
pr-title-check::
runs-on: windows-latest
steps:
- name: Check PR title format
uses: ShivamHS/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: your-repo-name
owner: repo-owner
pattern: enter the regex pattern for validation