Path: blob/master/GitHub/GitHub_Create_pull_request.ipynb
3514 views
Kernel: Python 3

GitHub - Create pull request
Tags: #github #pygithub #pullrequest #create #assign #issue
Author: Florent Ravenel
Last update: 2023-04-12 (Created: 2023-03-09)
Description: This notebook creates a pull request using pygithub library.
References:
Input
Import libraries
In [ ]:
Setup Variables
token: GitHub tokenrepo: repository nameowner: repository ownertitle: pull request titlebody: pull request bodyhead: branch name where your changes are implementedbase: branch name where your changes will be merged into
In [ ]:
Model
Create Pull Request
Create a pull request with assignee and link to issue using pygithub library.
In [ ]:
Output
Display result
In [ ]: