diff --git a/.github/workflows/lint_pr_title.yaml b/.github/workflows/lint_pr_title.yaml new file mode 100644 index 00000000..9ac4d6da --- /dev/null +++ b/.github/workflows/lint_pr_title.yaml @@ -0,0 +1,21 @@ +# https://github.com/amannn/action-semantic-pull-request +name: "Lint PR against Conventional Commits" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file