diff --git a/.github/workflows/convenitonal-commits.yml b/.github/workflows/convenitonal-commits.yml new file mode 100644 index 00000000..eee9576f --- /dev/null +++ b/.github/workflows/convenitonal-commits.yml @@ -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 }}