Problem
In .pre-commit-config.yaml, the local goreleaser-check hook has duplicated files and pass_filenames keys. YAML last-value-wins semantics means the first occurrence of each key is silently ignored.
This is a latent bug — the hook may not be filtering or skipping filenames as intended, and the config is misleading to anyone reading it.
Suggestion
Deduplicate the keys so there is exactly one files entry and one pass_filenames entry in the hook definition.
Problem
In
.pre-commit-config.yaml, the localgoreleaser-checkhook has duplicatedfilesandpass_filenameskeys. YAML last-value-wins semantics means the first occurrence of each key is silently ignored.This is a latent bug — the hook may not be filtering or skipping filenames as intended, and the config is misleading to anyone reading it.
Suggestion
Deduplicate the keys so there is exactly one
filesentry and onepass_filenamesentry in the hook definition.