-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix!: Return RepositoryAttachment
from GetRepositoriesForCodeSecurityConfiguration
#3707
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
base: master
Are you sure you want to change the base?
Conversation
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, @ericmort!
LGTM.
Please note that I still don't have write access to this repo, but figure I might as well attempt to catch up on my code reviews (which I usually allow the linter to process first... ah, well).
NOTES TO SELF:
- Add to the description:
BREAKING CHANGE:GetRepositoriesForCodeSecurityConfiguration
now returnsRepositoryAttachment
instead ofRepository
. - Add Breaking API label
- Change PR title:
fix!: ReturnRepositoryAttachment
fromGetRepositoriesForCodeSecurityConfiguration
Fixes: #3217. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3707 +/- ##
=======================================
Coverage 91.11% 91.11%
=======================================
Files 187 187
Lines 16684 16686 +2
=======================================
+ Hits 15202 15204 +2
Misses 1295 1295
Partials 187 187 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
RepositoryAttachment
from GetRepositoriesForCodeSecurityConfiguration
@ericmort - would you mind resolving the conflicts in this PR or would you like me to do that? |
@gmlewis I resolved it now |
…t/go-github into fix-json-unmarshal-error
Thank you, @ericmort! cc: @stevehipwell |
BREAKING CHANGE: GetRepositoriesForCodeSecurityConfiguration now returns RepositoryAttachment instead of Repository.
Adds type RepositoryAttachment for GetRepositoriesForCodeSecurityConfiguration
Fixes unmarshal error in GetRepositoriesForCodeSecurityConfiguration, as described in #3217.
(I submitted the PR under my corporate GitHub user, but I could not get a proper google/CLA so using my personal user.)