opticdev / optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
https://useoptic.com
MIT License
1.36k stars 83 forks source link

fix triggering generation when no token #2728

Closed niclim closed 9 months ago

niclim commented 9 months ago

🍗 Description

What does this PR do? Anything folks should know?

https://github.com/opticdev/optic/issues/2723

Fixes this by bypassing the diff-all check when no Optic token is set - this should mean we just pass the generate details check

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?