From d07d5068e52e6ca063055711ee4d4c237d894599 Mon Sep 17 00:00:00 2001 From: Dustin Byrne Date: Wed, 27 May 2026 12:32:06 -0400 Subject: [PATCH 1/2] chore: validate PR titles with conventional commits --- .github/workflows/lint-pr.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/lint-pr.yml diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml new file mode 100644 index 0000000..8cc7b39 --- /dev/null +++ b/.github/workflows/lint-pr.yml @@ -0,0 +1,25 @@ +name: Lint PR + +on: + pull_request: + types: + - opened + - edited + - synchronize + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + lint-pr: + name: Validate PR title against Conventional Commits + runs-on: ubuntu-24.04 + timeout-minutes: 5 + permissions: + contents: read + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # pin v6.1.1 + env: + GITHUB_TOKEN: ${{ github.token }} From dbfd397177c13b02387c1c614a6d65b504a8291b Mon Sep 17 00:00:00 2001 From: Dustin Byrne Date: Wed, 27 May 2026 12:37:49 -0400 Subject: [PATCH 2/2] chore: run PR title lint on reopen --- .github/workflows/lint-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 8cc7b39..3eb9ce3 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -5,6 +5,7 @@ on: types: - opened - edited + - reopened - synchronize concurrency: