Skip to content

Check PR title

Check PR title #9703

# Check PR title for conventional commits
name: Check PR title
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
merge_group:
# cancel redundant builds
concurrency:
# for a pull_request_target trigger head_ref will be available otherwise
# it falls back to ref
group: "title-checker-${{ github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
title_check:
# weg want this job to be skipped on merge queue PRs
if: contains(github.ref_name, 'gh-readonly-queue/main/') != true
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}