-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Description
The native support for pre-commit
hook was requested by external users.
To integrate with https://pre-commit.com/ the .pre-commit-hooks.yaml
file needs to be added to the root for repository.
Example:
- id: codeowners-validator-docker
name: Validate CODEOWNERS file
description: Ensures the correctness of your CODEOWNERS file.
language: docker_image
# TODO: types: hardcode expected file location?
entry: ghcr.io/mszostok/codeowners-validator:stable
- id: codeowners-validator
name: Validate CODEOWNERS file
description: Ensures the correctness of your CODEOWNERS file.
language: golang
# TODO: types: hardcode expected file location?
entry: codeowners-validator
To support the input parameters, the codeowners-validator
CLI should accept flags or config file.
Reasons
Support https://pre-commit.com/ out of the box to simplify external user workflow.
electriquo and thiagowfxelectriquoelectriquo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request