diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml new file mode 100644 index 0000000..4768b41 --- /dev/null +++ b/.github/workflows/conventional-pr.yml @@ -0,0 +1,23 @@ +name: "Lint PR" + +on: + pull_request: + types: + - opened + - edited + - synchronize + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + lint-pr: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - name: Lint PR + uses: amannn/action-semantic-pull-request@v4.6.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}