diff --git a/.github/workflows/conventional-pr-title.yml b/.github/workflows/conventional-pr-title.yml new file mode 100644 index 0000000..06e0534 --- /dev/null +++ b/.github/workflows/conventional-pr-title.yml @@ -0,0 +1,35 @@ +name: Conventional Commits PR title + +on: + pull_request: + types: + - opened + - edited + - reopened + - synchronize + +concurrency: + group: ${{github.workflow}}-${{github.ref}} + cancel-in-progress: true + +jobs: + conventional-pr-title: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5.0.2 + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + with: + types: | + build + ci + chore + docs + feat + fix + perf + revert + refactor + style + test + requireScope: false