add automated-security-fixes endpoint#1188
Conversation
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #1188 +/- ##
==========================================
+ Coverage 70.24% 70.24% +<.01%
==========================================
Files 84 84
Lines 5878 5892 +14
==========================================
+ Hits 4129 4139 +10
- Misses 958 960 +2
- Partials 791 793 +2
Continue to review full report at Codecov.
|
|
Hi @cpanato, it looks like I don't have permission to merge the changes to your PR. I think there is an "Allow maintainers to push to PR" or something like that if you want to try enabling it. Otherwise, you are doing to have to resolve the conflicts yourself because the GitHub web editor doesn't appear to be working currently. Sorry about that. The only change that's needed is to move your new custom header after the other new one: diff --git a/github/github.go b/github/github.go
index bfe0453..d6b75ee 100644
--- a/github/github.go
+++ b/github/github.go
@@ -140,6 +140,9 @@ const (
// https://developer.github.com/changes/2019-05-29-update-branch-api/
mediaTypeUpdatePullRequestBranchPreview = "application/vnd.github.lydian-preview+json"
+
+ // https://developer.github.com/changes/2019-06-04-automated-security-fixes/
+ mediaTypeRequiredAutomatedSecurityFixesPreview = "application/vnd.github.london-preview+json"
)
// A Client manages communication with the GitHub API. |
|
@gmlewis the Allow maintainers to push to PR is checked. i will rebase :) |
vaibhavsingh97
left a comment
There was a problem hiding this comment.
LGTM 💯
Thanks, for the PR @cpanato 💖
|
Thank you, @cpanato and @vaibhavsingh97! Merging. |
Adding automated-security-fixes endpoint
fixes: #1184