Skip to content

Conversation

@joelanford
Copy link
Member

@joelanford joelanford commented Feb 23, 2021

I wrote go-apidiff to help maintainers of kubernetes-sigs/controller-runtime easily identify PRs that break Go APIs. It's also being used in kubernetes-sigs/cluster-api* repos.

Today I finally got around to making a GitHub action out of it. I figured it might help in some of the operator-framework repos that are used as libraries.

It will compare the PR head with the target branch, report any API changes, and fail if any of them are breaking changes. Other projects using this make this test optional so that it is a simple signal to maintainers about whether changes are API-compatible.

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 30, 2021
@joelanford joelanford merged commit a9e30fd into operator-framework:master Mar 30, 2021
@joelanford joelanford deleted the go-apidiff branch March 30, 2021 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants