Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
feat: enable support for squash and rebase merges
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter committed Nov 16, 2016
1 parent 32a7ef6 commit 8409d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"dependencies": {
"execa": "0.5.0",
"lru-cache": "4.0.1",
"pretend": "0.4.0",
"pretend": "0.5.0",
"sander": "0.5.1"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Pretend, Get, Post, Put, Interceptor, IPretendRequestInterceptor,
import {Pretend, Get, Post, Put, Headers, Interceptor, IPretendRequestInterceptor,
IPretendDecoder} from 'pretend';
import * as LRUCache from 'lru-cache';

Expand Down Expand Up @@ -178,6 +178,7 @@ namespace impl {
@Get('/repos/:owner/:repo/commits/:ref/status')
public getStatusForRef(): any {/* */}

@Headers('Accept: application/vnd.github.polaris-preview+json')
@Put('/repos/:owner/:repo/pulls/:number/merge')
public mergePullRequest(): any {/* */}

Expand Down

0 comments on commit 8409d61

Please sign in to comment.