This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automate similar pull request creation for multiple repositories with a small python 3.7 script. | |
# All you have to do: | |
# 1. Provide your Github credentials in "Globals" section | |
# 2. Declare repositories and their base branches for which you want to create PR in "repositories_to_base" dictionary | |
# 3. Complete PR info in "PR constants" section and "create_pr" function | |
# 4. Implement "execute_changes" function | |
import os | |
from os import path | |
from github import Github |