Remove author from query: permission error

"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users."
This commit is contained in:
Bruno Alla 2021-11-09 11:24:06 +00:00
parent 82b2b5e29d
commit 21db044570

View File

@ -26,7 +26,6 @@ ROOT = CURRENT_FILE.parents[1]
REQUIREMENTS_DIR = ROOT / "{{cookiecutter.project_slug}}" / "requirements" REQUIREMENTS_DIR = ROOT / "{{cookiecutter.project_slug}}" / "requirements"
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN", None) GITHUB_TOKEN = os.getenv("GITHUB_TOKEN", None)
GITHUB_REPO = os.getenv("GITHUB_REPOSITORY", None) GITHUB_REPO = os.getenv("GITHUB_REPOSITORY", None)
ISSUE_AUTHOR = os.getenv("GITHUB_ISSUE_AUTHOR", "actions-user[bot]")
class Version(NamedTuple): class Version(NamedTuple):
@ -145,7 +144,6 @@ class GitHubManager:
"""Closes the issue if the base Django version is greater than the needed""" """Closes the issue if the base Django version is greater than the needed"""
qualifiers = { qualifiers = {
"repo": GITHUB_REPO, "repo": GITHUB_REPO,
"author": ISSUE_AUTHOR,
"state": "open", "state": "open",
"is": "issue", "is": "issue",
"in": "title", "in": "title",