By default, buf
looks for a buf.yaml
in
this manner:
- For
dir, bin, json
inputs,buf
looks at your current directory for abuf.yaml
file. - For
tar
andzip
inputs,buf
looks at the root of the archive for abuf.yaml
file afterstrip_components
is applied. - For
git
inputs,buf
looks at the root of the cloned repository at the head of the cloned branch.
The configuration can be overridden with the --config
flag. See the
configuration documentation
for more details.