Skip to content

Skip no-commit-to-branch hook in CI#6

Merged
bboe merged 1 commit into
mainfrom
fix-ci-no-commit-to-branch
Jun 15, 2026
Merged

Skip no-commit-to-branch hook in CI#6
bboe merged 1 commit into
mainfrom
fix-ci-no-commit-to-branch

Conversation

@bboe

@bboe bboe commented Jun 15, 2026

Copy link
Copy Markdown
Owner

The CI lint job runs pre-commit run --all-files on the main branch, where the no-commit-to-branch guard always fails. It's a local-only safeguard, so skip it in CI via the SKIP env var (the same mechanism pre-commit.ci uses).

The CI lint job runs pre-commit on the main branch, where the
no-commit-to-branch guard always fails. It is a local-only safeguard,
so skip it in CI (mirroring pre-commit.ci's default behavior).
@bboe bboe merged commit 5be9108 into main Jun 15, 2026
6 checks passed
@bboe bboe deleted the fix-ci-no-commit-to-branch branch June 15, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant