diff --git a/.github/workflows/validate-pr-title.yml b/.github/workflows/validate-pr-title.yml index f9160265..7ddfaac9 100644 --- a/.github/workflows/validate-pr-title.yml +++ b/.github/workflows/validate-pr-title.yml @@ -16,10 +16,17 @@ jobs: shell: bash run: | TITLE="${{ github.event.pull_request.title }}" + AUTHOR="${{ github.event.pull_request.user.login }}" echo "PR title: $TITLE" + echo "PR author: $AUTHOR" + + if [[ "$AUTHOR" =~ ^renovate(\[bot\])?$ ]]; then + echo "✅ Skipping title pattern validation for Renovate PR." + exit 0 + fi # Regex for: - # [category/subcategory] type(scope?): description (#123?) + # [category/subcategory] type(scope?): description (#123) PATTERN='^\[([a-z]+(/[a-z]+)*)\] (feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)(\([a-z]+\))?: [a-z].*( \(#[0-9]+\))$' if [[ ! "$TITLE" =~ $PATTERN ]]; then diff --git a/renovate.json b/renovate.json index e1d1c913..94d5b53e 100644 --- a/renovate.json +++ b/renovate.json @@ -9,6 +9,7 @@ ], "prConcurrentLimit": 2, "baseBranches": ["release/current", "main"], + "commitMessagePrefix": "[tool] chore(deps):", "packageRules": [ { "matchUpdateTypes": [