Skip to content

Commit

Permalink
merge_pull_request - rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianZaremba committed Oct 26, 2024
1 parent 52a194a commit 606552b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipup/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def get_pull_request_actions(self, pull_request_id: int) -> Dict[str, str]:
def merge_pull_request(self, pull_request_id: int) -> None:
r = requests.put(f'https://api.github.com/repos/'
f'{self.repository}/pulls/{pull_request_id}/merge',
json={'merge_method': 'rebase'},
headers=self._build_headers())
r.raise_for_status()

Expand Down

0 comments on commit 606552b

Please sign in to comment.