mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-15 21:06:33 +00:00
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)
This commit is contained in:
@@ -11,7 +11,7 @@ import git
|
||||
from github import Github
|
||||
|
||||
# The owner and repository name. For example, octocat/Hello-World.
|
||||
GITHUB_REPOSITORY = os.getenv("GITHUB_REPOSITORY")
|
||||
GITHUB_REPOSITORY = os.getenv("GITHUB_REPOSITORY", "")
|
||||
|
||||
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
|
||||
GITHUB_REF_NAME = os.getenv("GITHUB_REF_NAME")
|
||||
|
||||
Reference in New Issue
Block a user