Closed
Description
GitHub Developer API announcement:
https://developer.github.com/changes/2018-01-10-lock-reason-api-preview/
Supporting this change will require the following:
- add a new preview media type (
application/vnd.github.sailor-v-preview+json
) togithub.go
, - add new
active_lock_reason
andlock_reason
fields (ActiveLockReason
andLockReason
in Go, respectively) toIssue
andPullRequest
responses, - add a new (optional)
lock_reason
field (LockReason
in Go) to theIssuesService.Lock
request (which will involve a breaking API change, so that thelibraryVersion
will need to be bumped), - add a new
lock_reason
(LockReason
in Go) field toIssueEvent
andPullRequestEvent
, - write supporting tests, and
- bump the
libraryVersion
.
This is slightly more involved than some of the other recent enhancements, but would still be a good challenge for any new contributor to this repo or to a new Go developer.
All contributions are greatly appreciated. Check out our CONTRIBUTING.md document for more information on how to get started.
Feel free to volunteer for any issue, and we can send you an invite to contribute to the repo (which you then accept) and the issue can be assigned to you so that others don't attempt to duplicate the work.
Thank you!