From 20253b1f189e7aa22b42f0859c5770bf48714c14 Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Mon, 29 Sep 2025 11:05:41 -0300 Subject: [PATCH] chore: update title validation workflow for PRs --- .github/workflows/title-validation.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/title-validation.yml b/.github/workflows/title-validation.yml index 87bedfb3a..b0eebcd58 100644 --- a/.github/workflows/title-validation.yml +++ b/.github/workflows/title-validation.yml @@ -9,30 +9,20 @@ on: - synchronize permissions: - contents: read pull-requests: write + contents: read jobs: main: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v5 + - uses: amannn/action-semantic-pull-request@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - types: | - build - chore - ci - docs - feat - fix - perf - refactor - revert - style - test - subjectPattern: ^[A-Z].+$ + subjectPattern: ^(?![A-Z]).+$ subjectPatternError: | - The subject of the PR must begin with an uppercase letter. + 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.