mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
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:
parent
82b2b5e29d
commit
21db044570
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user