Summary
since the introduction of serde_saphyr (https://github.com/j178/prek/pull/1087/files) our check-yaml hook fails with errors like this:
redacted.yaml: Failed to yaml decode (!!binary scalar is not valid UTF-8 at line 26, column 9)
which refers to this kind of content in a .yaml file:
response:
body:
string: !!binary |
g5tmEZW9HiKiqA8BGikL5++PkGHuP3+p/1+/WHOrSONjGb........
This didn't cause any issues for us before the change
Platform
GitHub actions
Version
prek 0.2.9 (565c5e2 2025-10-16)
.pre-commit-config.yaml
repos:
Log file
No response
Summary
since the introduction of
serde_saphyr(https://github.com/j178/prek/pull/1087/files) our check-yaml hook fails with errors like this:which refers to this kind of content in a
.yamlfile:This didn't cause any issues for us before the change
Platform
GitHub actions
Version
prek 0.2.9 (565c5e2 2025-10-16)
.pre-commit-config.yaml
repos:
rev: v6.0.0
Log file
No response