From bb9a34f18ba385810fc37d09457d0ce7d4711228 Mon Sep 17 00:00:00 2001 From: Dustin Byrne Date: Wed, 27 May 2026 12:32:05 -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 00000000..8cc7b394 --- /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 b6201da1156b4505a9fcff4c41eedd72c23f2664 Mon Sep 17 00:00:00 2001 From: Dustin Byrne Date: Wed, 27 May 2026 12:37:47 -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 8cc7b394..3eb9ce31 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -5,6 +5,7 @@ on: types: - opened - edited + - reopened - synchronize concurrency: