From fa6576672c35858cdab7b098d4642a23494117ea Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Wed, 13 May 2026 10:41:54 -0500 Subject: [PATCH] ci: add PR title linting for conventional commits Uses amannn/action-semantic-pull-request@v6 (pinned to SHA) to enforce conventional commit format on PR titles, matching authkit-nextjs setup. --- .github/workflows/lint-pr-title.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint-pr-title.yml diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml new file mode 100644 index 00000000..02339a7d --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,16 @@ +name: Lint PR Title + +on: + pull_request_target: + types: [opened, edited, synchronize] + +permissions: + pull-requests: read + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}