Skip to content

Commit 84be00b

Browse files
committed
.
1 parent 7a61151 commit 84be00b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
import os.path
99
import json
1010

11-
# from google.auth.transport.requests import Request
11+
1212
from google.oauth2.credentials import Credentials
13-
# from google_auth_oauthlib.flow import InstalledAppFlow
1413
from googleapiclient import errors
1514
from googleapiclient.discovery import build
1615

src/manager_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class EnvironmentManager:
1010
_TRUTHY = ["true", "1", "t", "y", "yes"]
1111

1212
GH_TOKEN = getenv("INPUT_GH_TOKEN")
13-
REPO_NAME = getenv("INPUT_REPO_NAME")
13+
GITHUB_REPOSITORY = getenv("GITHUB_REPOSITORY")
1414
# Google Script
1515
PROJECT_ID = environ["INPUT_PROJECT_ID"]
1616
PROJECT_NAME = environ["INPUT_PROJECT_NAME"]

src/manager_github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def prepare_github_env(cls):
3131
cls.USER = github.get_user()
3232
rmtree(clone_path, ignore_errors=True)
3333

34-
cls._REMOTE_NAME = f"{cls.USER.login}/{EM.REPO_NAME}"
34+
cls._REMOTE_NAME = f"{cls.USER.login}/{EM.GITHUB_REPOSITORY}"
3535
cls._REPO_PATH = f"https://{EM.GH_TOKEN}@github.com/{cls._REMOTE_NAME}.git"
3636

3737
cls.REMOTE = github.get_repo(cls._REMOTE_NAME)

0 commit comments

Comments
 (0)