Skip to content

file_is_text

Content is detected as text (magic bytes + UTF-8 validity check) — fails on binary files matched by paths.

- id: configs-are-text
kind: file_is_text
paths: ".github/**/*.{yml,yaml}"
level: error