Skip to content

Commit fcc4273

Browse files
yossiovadiaclaude
andauthored
fix: correct yaml linting hook to call yaml-lint instead of markdown-lint (#609)
The pre-commit yaml-and-yml-fmt hook was incorrectly calling 'make markdown-lint' instead of 'make yaml-lint', causing YAML files to not be properly linted locally while GitHub Actions CI would catch the issues. This led to confusion where PRs would fail in CI even though 'pre-commit run --all-files' passed locally, forcing contributors to fix pre-existing YAML linting issues in files they never touched (e.g., PR #593). Fixes #608 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Yossi Ovadia <yovadia@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1537fd1 commit fcc4273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
hooks:
5555
- id: yaml-and-yml-fmt
5656
name: yaml/yml fmt
57-
entry: bash -c "make markdown-lint"
57+
entry: bash -c "make yaml-lint"
5858
language: system
5959
files: \.(yaml|yml)$
6060
exclude: ^(\node_modules/)

0 commit comments

Comments
 (0)