Check PR title #9703
Workflow file for this run
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
# 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 }} | |