mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Automatically add Django version label to issue (#3492)
This commit is contained in:
parent
1a31a2a35b
commit
95981c055a
|
@ -264,9 +264,10 @@ class GitHubManager:
|
|||
issue.edit(body=description)
|
||||
else:
|
||||
print(f"Creating new issue for Django {needed_dj_version}")
|
||||
self.repo.create_issue(
|
||||
issue = self.repo.create_issue(
|
||||
f"[Update Django] Django {needed_dj_version}", description
|
||||
)
|
||||
issue.add_to_labels(f"django{needed_dj_version}")
|
||||
|
||||
def generate(self):
|
||||
for version in self.needed_dj_versions:
|
||||
|
|
Loading…
Reference in New Issue
Block a user