diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml new file mode 100644 index 0000000000..c50f63943b --- /dev/null +++ b/.github/workflows/pr_title.yml @@ -0,0 +1,19 @@ +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@v2.2.3 + with: + success-state: ✅ + failure-state: PR title does not follow the conventional commits specification! + context-name: conventional-pr-title + preset: conventional-changelog-angular@latest