Skip to content

Commit 986dcb9

Browse files
authored
test: Update main.py
1 parent 894c2c5 commit 986dcb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def add_pr_comments() -> int:
104104
pr_number = os.getenv("GITHUB_REF").split("/")[-2]
105105

106106
# Initialize GitHub client
107-
g = Github(token)
107+
# g = Github(token)
108+
g = Github(token, retry=github.GithubRetry())
108109
repo = g.get_repo(repo_name)
109110
pull_request = repo.get_issue(int(pr_number))
110111

0 commit comments

Comments
 (0)