Added PR multiarch

Added python3.8-dev/build-essential to dockerfile

Adds token to GH actions for GetTwitchDownloader
This commit is contained in:
Isaac Abadi
2023-05-07 00:22:08 -04:00
parent e573f34cea
commit d6f39d37b5
5 changed files with 21 additions and 4 deletions

View File

@@ -26,7 +26,8 @@ def getZipName():
def getLatestFileInRepo(repo, search_string):
# Create an unauthenticated instance of the Github object
g = Github(os.environ.get('GH_TOKEN'))
gh_token = os.environ.get('GH_TOKEN')
g = Github(gh_token if gh_token else None) # ensure it's none if it's falsy
# Replace with the repository owner and name
repo = g.get_repo(repo)