-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking check fails on new proto files #81
Comments
You shouldn't need to set the |
@iCynara I agree with Nick and think the |
Hey I think you guys are right if i don't do Also we may want to check certain folder only , example we have
We would want to do that with git diff or probably should do
then we will still be using |
@iCynara I think what you'll want is to update the |
We are okay with using my workaround for now. But thank you for all of you provide many different ways to do it. 🙇🏼♀️ |
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?
The text was updated successfully, but these errors were encountered: