Skip to content

Commit a662852

Browse files
mlwellesmatthewmcneely
authored andcommitted
ci: skip no-commit-to-branch hook in code quality workflow
The no-commit-to-branch pre-commit hook fails when CI runs on main after a merge (push event), since it detects the checked-out branch is protected. This hook is only useful locally to prevent accidental commits to main — CI is just running checks, not committing.
1 parent 695aa53 commit a662852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-pydgraph-code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
make protogen
3737
git diff --exit-code -- .
3838
- name: Run code quality checks
39-
run: SKIP=trunk-check,trunk-fmt make check
39+
run: SKIP=no-commit-to-branch,trunk-check,trunk-fmt make check

0 commit comments

Comments
 (0)