atomist-attic / artifact-source

ArtifactSource abstraction for source code
GNU General Public License v3.0
2 stars 3 forks source link

Add Squash and Merge for PR #44

Closed cdupuis closed 7 years ago

alankstewart commented 7 years ago

Squash is default for the mergePullRequest method

cdupuis commented 7 years ago

Ah, cool. Is that new?

In that case we need the non-squash to be available. Is that too?

alankstewart commented 7 years ago

Only new since github-api was removed, i.e. 1.0.0-m.14. Valid values to the mergePullRequestmethod's mergeMethod field are squash (default if not specified), merge, and rebase, as per https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button