Skip to content

Check PR title

Check PR title #1429

name: Check PR title
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
schedule:
- cron: '0 4 * * 0,3' # 4 a.m. UTC every Sun and Wed, keep actions-cache available
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: dfinity/[email protected]
with:
success-state: Title follows the specification.
failure-state: Title does not follow the specification.
context-name: conventional-pr-title
preset: conventional-changelog-angular@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}