-
Notifications
You must be signed in to change notification settings - Fork 2.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
Add GetAutomatedSecurityFixes to report status #2842
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2842 +/- ##
=======================================
Coverage 98.06% 98.07%
=======================================
Files 138 139 +1
Lines 12314 12357 +43
=======================================
+ Hits 12076 12119 +43
Misses 162 162
Partials 76 76
|
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, @grahamhar !
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
github/repos.go
Outdated
return nil, nil, err | ||
} | ||
|
||
// TODO: remove custom Accept header when this API fully launches |
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.
Looks like API docs now recommend using the common application/vnd.github+json
header. Maybe we can remove this custom header?
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.
Happy to do that as part of this PR.
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've made the changes I think are needed please let me know if I need to do anything else.
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 @grahamhar !
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.
LGTM!
Thank you, @vandanrohatgi ! |
This is an attempt to fix #2080. It is also required by upstream projects such as terraform-provider-github, see issue 1301