diff --git a/.github/workflows/pr-title b/.github/workflows/pr-title new file mode 100644 index 00000000..fcf10561 --- /dev/null +++ b/.github/workflows/pr-title @@ -0,0 +1,17 @@ +name: "Conventional Commits PR Title" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.PR_TITLE_TOKEN }}