-
Notifications
You must be signed in to change notification settings - Fork 1k
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 head_branch metric #2549
Use head_branch metric #2549
Conversation
@mumoshu could you help take a look |
go.mod
Outdated
@@ -60,6 +62,7 @@ require ( | |||
github.com/golang/protobuf v1.5.2 // indirect | |||
github.com/google/gnostic v0.5.7-v3refs // indirect | |||
github.com/google/go-github/v45 v45.2.0 // indirect | |||
github.com/google/go-github/v52 v52.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @th-le! TIL that this had to be bumped in order to accommodate google/go-github@9385ab0.
However, I'm still unsure why this had to be in this second block of require
.
Shouldn't it have resulted in updating L13 of this file?!
golang.org/x/net v0.9.0 | ||
golang.org/x/oauth2 v0.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two versions seem to align with go-github v52 👍
go.mod
Outdated
golang.org/x/sync v0.1.0 | ||
gomodules.xyz/jsonpatch/v2 v2.2.0 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
k8s.io/api v0.26.2 | ||
k8s.io/apimachinery v0.26.2 | ||
k8s.io/client-go v0.26.2 | ||
sigs.k8s.io/controller-runtime v0.14.4 | ||
sigs.k8s.io/controller-runtime v0.14.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave this controller-runtime upgrade to another pull request to make this pull request focused on the head_branch addition? @th-le
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made changes that I thought necessary myself and merging this now!
It would be great if you could confirm when you have time
Thanks again for your contribution @th-le!!
the changes look good. thank you so much @mumoshu |
Follow up for #2176.
This PR uses the branch_name for metrics