Verified Commit 8b26c9cc authored by Levente Polyak's avatar Levente Polyak 🚀
Browse files

gitlab: add project token users to allowlist

We should find a better solution as this is not maintainable. On the
other hand we can't use a regex as that is not safe either to enforce we
have no weird users or foreign projects sneaking in.
parent e33ca0db
...@@ -856,6 +856,16 @@ fn is_archlinux_bot(member: &GitLabMember) -> bool { ...@@ -856,6 +856,16 @@ fn is_archlinux_bot(member: &GitLabMember) -> bool {
if member.username.eq(GITLAB_BOT) { if member.username.eq(GITLAB_BOT) {
return true; return true;
} }
// TODO: find a better way for project token users
// This is not nicely maintainable nor safe to do by regex
if vec![
return true;
false false
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment