Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ repos:
rev: v0.19.0
hooks:
- id: yamlfmt

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Removing types: [yaml] could cause the yamlfmt hook to run on all files, as pre-commit's default behavior is to target all files (types: [file]) if not specified otherwise by the hook. This would likely lead to errors on non-YAML files and cause pre-commit checks to fail. To ensure stability, it's safer to explicitly define the file types the hook should run on.

      - id: yamlfmt
        types: [yaml]

types: [yaml]

ci:
autoupdate_commit_msg: "ci: pre-commit autoupdate"
Expand Down
Loading