Skip to content

Commit c7e8459

Browse files
committed
[ci] chore(workflow): add pr title validation
1 parent 2e28b63 commit c7e8459

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.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)