ci: Do not run Docker-based hooks on pre-commit.ci by default#5
Merged
actuarysailor merged 1 commit intomainfrom Aug 16, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR prevents Docker-based pre-commit hooks from running by default on environments that don't support Docker (like pre-commit.ci) by adding default: false to all Docker-based hooks in the configuration file.
- Adds
default: falseto seven Docker-based hooks to prevent automatic execution - Maintains backward compatibility by allowing manual enablement in environments with Docker support
- Resolves errors on pre-commit.ci service which cannot execute Docker-based hooks
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
github-actions bot
pushed a commit
that referenced
this pull request
Aug 16, 2025
## [1.101.1](v1.101.0...v1.101.1) (2025-08-16) ### Bug Fixes * Disable docker hooks on pre-commit.ci ([#5](#5)) ([dd977d1](dd977d1))
|
This PR is included in version 1.101.1 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Put an
xinto the box if that apply:Description of your changes
This PR updates all Docker-based hooks in
.pre-commit-hooks.yamlto includedefault: false. This prevents these hooks from running by default on environments like pre-commit.ci, which do not support Docker, and avoids related errors. The hooks can still be enabled locally or in CI environments where Docker is available.How can we test changes