ci(backend): 💚 add conventional pr naming check
This commit is contained in:
parent
990244e37e
commit
c7f8c96287
1 changed files with 23 additions and 0 deletions
23
.github/workflows/convenitonal-commits.yml
vendored
Normal file
23
.github/workflows/convenitonal-commits.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue