From c16b4b0477b3f637cec4f9deb47d56327b486c38 Mon Sep 17 00:00:00 2001 From: vijay s m Date: Tue, 11 Aug 2026 20:34:03 +0530 Subject: [PATCH] Update pr-title-check.yml --- .github/workflows/pr-title-check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 448c2aa10..9684d78d6 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -1,4 +1,5 @@ # Copyright (c) Microsoft Corporation. Licensed under the MIT License. + name: PR Title Check on: @@ -14,7 +15,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - pull-requests: read # amannn/action-semantic-pull-request reads the PR title/body + pull-requests: read # amannn/action-semantic-pull-request reads the PR title/body steps: - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 env: @@ -34,7 +35,7 @@ jobs: build revert requireScope: false - subjectPattern: ^(?![A-Z]).+$ + subjectPattern: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && '.+' || '^(?![A-Z]).+$' }} subjectPatternError: | The PR title subject "{subject}" must not start with an uppercase letter. Use lowercase: "feat: add foo" not "feat: Add foo".