mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
Bot usernames are excluded in the generator
This commit is contained in:
parent
81bc4fb73d
commit
7570ed9c5a
|
@ -26,7 +26,7 @@ def main() -> None:
|
|||
contrib_file = ContributorsJSONFile()
|
||||
for username in recent_authors:
|
||||
print(f"Checking if {username} should be added")
|
||||
if username not in contrib_file and username not in BOT_LOGINS:
|
||||
if username not in contrib_file:
|
||||
user_data = gh.fetch_user_info(username)
|
||||
contrib_file.add_contributor(user_data)
|
||||
print(f"Added {username} to contributors")
|
||||
|
|
Loading…
Reference in New Issue
Block a user