Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

Commit 1062401

Browse files
committed
[ci] chore(workflow): add pr title validation
1 parent fec4812 commit 1062401

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/validate-pr-title.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
TITLE="${{ github.event.pull_request.title }}"
1919
echo "PR title: $TITLE"
2020
21+
# Skip validation for renovate
22+
if [[ "$TITLE" == *"chore(deps)"* ]]; then
23+
echo "⚠️ Skipping validation for renovate Prs."
24+
exit 0
25+
fi
26+
2127
# Regex for:
2228
# [category/subcategory] type(scope?): description (#123?)
2329
PATTERN='^\[([a-z]+(/[a-z]+)*)\] (feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)(\([a-z]+\))?: [a-z].*( \(#[0-9]+\))$'

0 commit comments

Comments
 (0)