Skip to content

feat: implement upstream reference fetching and validation for force …

3fee641
Select commit
Loading
Failed to load commit list.
Draft

feat: block force pushes via pre-push hook #400

feat: implement upstream reference fetching and validation for force …
3fee641
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 13, 2026 in 30s

Annotations

Check failure on line 1161 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 "commit_check.engine.get_upstream_remote_sha" 4 times.

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

Check failure on line 1158 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 "origin/main" 6 times.

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

Check failure on line 161 in tests/util_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "origin/main" 5 times.

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