ci(backend): 💚 add conventional pr naming check

This commit is contained in:
hay-kot 2021-09-01 21:44:59 -08:00
parent 990244e37e
commit c7f8c96287

View file

@ -0,0 +1,23 @@
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 }}