Skip to content
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 SHA and make message optional for pull request merge #805

Merged
merged 2 commits into from
May 19, 2015

Conversation

hnrkndrssn
Copy link
Contributor

Fixes #804

@shiftkey
Copy link
Member

shiftkey added a commit that referenced this pull request May 19, 2015
Add SHA and make message optional for pull request merge
@shiftkey shiftkey merged commit bb57a4a into octokit:master May 19, 2015
@hnrkndrssn
Copy link
Contributor Author

:shipit: :trollface: 😀

@hnrkndrssn hnrkndrssn deleted the mergepullrequest-sha branch September 18, 2015 11:16
/// <summary>
/// The message that will be used for the merge commit (optional)
/// </summary>
public string Message { get; private set; }
public string Message { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently fixing this, but according to the docs here: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button

This is not optional and it should be CommitMessage. Did you happen to see something that suggests otherwise?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would've thought I did see something that suggested that the Message property was optional, but can't for the life of me remember (or find) where.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well the response is message but the request is commit_message. The docs are actually a bit unclear on this so I'll ask @pengwynn for clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SHA property to MergePullRequest
3 participants