smarkets / marge-bot

A merge-bot for GitLab
BSD 3-Clause "New" or "Revised" License
701 stars 136 forks source link

Use public mail as alternative to admin account #262

Open l0nax opened 4 years ago

l0nax commented 4 years ago

Description

Would it be possible to use the public_email attribute instead of using the List emails for user API endpoint.

Even normal users can make requests against the Get Single user API where the public_email attribute is returned.

Because I don't want to give the Bot user admin privileges.

mjrussell commented 2 years ago

This would be a great improvement. It also allows for running marge bot as a service and not a user while still getting the email