I couldn't get https://github.com/evereepay/openapi-diff-action to work for me, so ended up doing it a bit more manually, by invoking directly https://github.com/quen2404/openapi-diff and generating a comment for the PR with https://github.com/actions/github-script
To do that you need :
- the script
check-openapi-diff.sh
... in my case it is in the.ci
folder at the root of our repo - the GitHub Actions workflow
openapi.yaml
. It needs to be under the folder.github/workflows
of the repo - possibly adapt some paths here and there in the
openapi.yaml
file