File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ objects.
3939* ` [ ] ` ` master_branch ` becomes ` default_branch ` .
4040* ` [ ] ` ` integrate_branch ` on the [ repo API] ( /v3/repos/#get ) will no longer be
4141 returned.
42+ * ` [ ] ` ` merge_commit_sha ` on the [ pull request API] ( /v3/pulls/#get-a-single-pull-request )
43+ will no longer be returned.
4244* ` [ ] ` Use the ` private ` attribute when creating a private repository,
4345 instead of setting ` public ` to false.
4446* ` [ ] ` Use JSON to POST to the "repos/: owner /: repo /forks" endpoint, instead of a query string.
Original file line number Diff line number Diff line change 6363<%= headers 200 %>
6464<%= json : full_pull %>
6565
66+ ### Mergability
67+
68+ Each time the pull request receives new commits, GitHub creates a merge commit
69+ to _ test_ whether the pull request can be automatically merged into the base
70+ branch. (This _ test_ commit is not added to the base branch or the head branch.)
71+ The ` merge_commit_sha ` attribute holds the SHA of the _ test_ merge commit;
72+ however, this attribute is [ deprecated] ( /#expected-changes ) and is scheduled for
73+ removal in the next version of the API. The Boolean ` mergable ` attribute will
74+ remain to indicate whether the pull request can be automatically merged.
75+
76+ ### Alternative Response Formats
77+
6678Pass the appropriate [ media type] ( /v3/media/#commits-commit-comparison-and-pull-requests ) to fetch diff and patch formats.
6779
6880## Create a pull request
You can’t perform that action at this time.
0 commit comments