diff --git a/.github/workflows/conventional-pr-title.yml b/.github/workflows/conventional-pr-title.yml new file mode 100644 index 000000000..a6d6560e5 --- /dev/null +++ b/.github/workflows/conventional-pr-title.yml @@ -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 }} \ No newline at end of file