-
Notifications
You must be signed in to change notification settings - Fork 26
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
Use PR diff as base and revision #55
Comments
Tried to do the same, unfortunately it's a deal breaker. Tried using checkout and supplying the path but it doesn't pick up changes. Tried giving it the blob url but doesn't play nicely with private repos |
My solution to use the oasdiff library separately rather than this action. Probably not the most efficient code but does the basics that we need for now
|
It is possible to achieve this behaviour when you check out both the base and head branches in your GH action script.
|
In a setup where you are tracking the
oas.yaml
in git, you would expect to check the diff in the context of a pull request. This means you automatically set the following:base
to theoas.yaml
of the branch your pull request is onrevision
to theoas.yaml
of the last commit of your pull requestThis is the behavior of other actions like https://github.com/kamilkisiela/graphql-inspector
Any thoughts?
The text was updated successfully, but these errors were encountered: