diff --git a/.github/workflows/semantic-pr-check.yml b/.github/workflows/semantic-pr-check.yml new file mode 100644 index 0000000000..10db1c873e --- /dev/null +++ b/.github/workflows/semantic-pr-check.yml @@ -0,0 +1,24 @@ +name: Semantic Pull Request + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +concurrency: + group: semantic-pr-${{ github.ref }} + cancel-in-progress: true + +jobs: + main: + + name: Validate PR title + runs-on: ubuntu-latest + + steps: + - name: Check PR title matches Conventional Commits spec + uses: amannn/action-semantic-pull-request@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}