Open iCynara opened 4 days ago
You shouldn't need to set the paths:
field at all, unless you have some special needs. Can you see if removing the path:
field solves your problem?
@iCynara I agree with Nick and think the paths
restriction here is what is causing issues. There shouldn't be a need to run checks on only the changeset. Using the paths
will restrict the module build input and I believe cause the breaking changes as files not modified will appear to be deleted. Adding new files is not a breaking change. Could you provide a bit more details on why you needed to set paths
?
We have a GH action scan changed proto file and run
bufbuild/buf-action
on it. But if the PR only contain a new added proto file,breaking
fails with errorI think this is because
breaking
try to pull the same file on the older version which does exist.Here is our original GH action
To fix that i did a work around (because i don't want people to use
buf skip breaking
if they have new files and modified files)Separated changed files and new files in GH action. And add `breaking: false for new files.
My question is if this is what we suppose to do? Adding new file is very common and i feel like it should be natively supported and we just didn't use it right?