Files
mealie/.github/workflows/convenitonal-commits.yml
2021-09-01 21:44:59 -08:00

24 lines
570 B
YAML

name: Check PR title
on:
pull_request:
branches:
- mealie-next
types:
- opened
- reopened
- edited
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@master
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 }}