1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-09 12:12:34 +01:00

Merge pull request #76 from fosscord/filter-action-user

Filter the action user from the contributors
This commit is contained in:
Flam3rboy 2021-07-28 21:33:55 +02:00 committed by GitHub
commit 723843b08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,11 @@ for repo in repos:
contr = list(map(format_contributor, contr))
for cont in contr:
if not cont["login"].lower() in contributors_names:
contributors_names.append(cont["login"].lower())
contributors.append(cont)
if not cont["login"] == "actions-user":
contributors_names.append(cont["login"].lower())
contributors.append(cont)
else :
continue
else:
continue