Skip to content

Commit 671b6ad

Browse files
committed
Fix static type checker error
Error message: error: Argument of type "str | None" cannot be assigned to parameter "full_name_or_id" of type "int | str" in function "get_repo" (reportGeneralTypeIssues)
1 parent 1c47fc9 commit 671b6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/make_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from github import Github
1212

1313
# The owner and repository name. For example, octocat/Hello-World.
14-
GITHUB_REPOSITORY = os.getenv("GITHUB_REPOSITORY")
14+
GITHUB_REPOSITORY = os.getenv("GITHUB_REPOSITORY", "")
1515

1616
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
1717
GITHUB_REF_NAME = os.getenv("GITHUB_REF_NAME")

0 commit comments

Comments
 (0)