From cc6822f6583edd78a9e16b71a49b06545c93478b Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Mon, 18 May 2026 14:13:22 +0200 Subject: [PATCH 1/3] ci(workflows): add `lint-pr-title` workflow Ensure PR titles follow Conventional Commits so that merged PRs trigger `release-please` PRs and show up in the release notes. --- .github/workflows/lint-pr-title.yml | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 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..6145e9ec --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,38 @@ +name: lint-pr-title + +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +permissions: + pull-requests: read + +jobs: + lint-pr-title: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + enhance + refactor + perf + docs + test + chore + build + ci + requireScope: false + subjectPattern: ^(?![A-Z]).+$ + subjectPatternError: | + The subject "{subject}" found in the pull request title "{title}" + didn't match the configured pattern. Please ensure that the subject + doesn't start with an uppercase character. From dde88cdb352ccfbf694c47ce84f0ce4cbcbe2b81 Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Fri, 22 May 2026 16:51:11 +0200 Subject: [PATCH 2/3] ci(lint-pr-title): remove subjectPattern requirement --- .github/workflows/lint-pr-title.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index 6145e9ec..8010c446 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -31,8 +31,3 @@ jobs: build ci requireScope: false - subjectPattern: ^(?![A-Z]).+$ - subjectPatternError: | - The subject "{subject}" found in the pull request title "{title}" - didn't match the configured pattern. Please ensure that the subject - doesn't start with an uppercase character. From 4b3e507241f126b8413602ba1690b2f915df573e Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Fri, 22 May 2026 16:52:37 +0200 Subject: [PATCH 3/3] ci(lint-pr-title): remove unnecessary requireScope input --- .github/workflows/lint-pr-title.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index 8010c446..f328ab87 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -30,4 +30,3 @@ jobs: chore build ci - requireScope: false