feat(pr-title): added pr-title checlk

This commit is contained in:
Stan Girard 2023-07-27 10:45:58 +02:00
parent 16114b2c52
commit b11b2d8658

View File

@ -0,0 +1,21 @@
name: Check PR title
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@main
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 }}