From 21db044570fc1cbe8f47c3f420dd8bbe40d0a258 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 9 Nov 2021 11:24:06 +0000 Subject: [PATCH] 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." --- scripts/create_django_issue.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/create_django_issue.py b/scripts/create_django_issue.py index 092da2b9..1fe5072b 100644 --- a/scripts/create_django_issue.py +++ b/scripts/create_django_issue.py @@ -26,7 +26,6 @@ ROOT = CURRENT_FILE.parents[1] REQUIREMENTS_DIR = ROOT / "{{cookiecutter.project_slug}}" / "requirements" GITHUB_TOKEN = os.getenv("GITHUB_TOKEN", None) GITHUB_REPO = os.getenv("GITHUB_REPOSITORY", None) -ISSUE_AUTHOR = os.getenv("GITHUB_ISSUE_AUTHOR", "actions-user[bot]") class Version(NamedTuple): @@ -145,7 +144,6 @@ class GitHubManager: """Closes the issue if the base Django version is greater than the needed""" qualifiers = { "repo": GITHUB_REPO, - "author": ISSUE_AUTHOR, "state": "open", "is": "issue", "in": "title",