Skip to content

fix: replace git branch -a regex with rev-parse in MergeBaseValidator - #451

Merged
shenxianpeng merged 1 commit into
mainfrom
bugfix/find-target-branch-use-rev-parse
Jul 2, 2026
Merged

fix: replace git branch -a regex with rev-parse in MergeBaseValidator#451
shenxianpeng merged 1 commit into
mainfrom
bugfix/find-target-branch-use-rev-parse

fix: replace git branch -a regex with rev-parse in MergeBaseValidator

be6a2c3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 2, 2026 in 22s

Annotations

Check failure on line 31 in tests/engine_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "refs/heads/main" 3 times.

See more on https://sonarcloud.io/project/issues?id=commit-check_commit-check&issues=AZ8kbgLG7wHZOcdrOAa4&open=AZ8kbgLG7wHZOcdrOAa4&pullRequest=451