Skip to content

Notification of active users

Problem to solve

Send a report on failure or succeed of a build to active users of the repository only.

Intended users

The DevOps Engineer who sets up gitlab-ci.yml files.

Further details

Running post-build quality checks and sending the resulting report to users via email creates massive email if send blindly. Every time a branch is made, more email is send. By offering a way to find out the active users of a branch you could inform only relevant users.

Proposal

An API to query the recently active users of (commiters to) a branch could work.

sortof like https://docs.gitlab.com/ee/api/commits.html with the 'since' attribute, except that the 'committer_email' would be the only interesting field and should be made unique to prevent duplicate emails.

This would be an API-only feature, not visible in the UI.

What does success look like, and how can we measure that?

Beging able to get a link of email-addresses of active committers since N days from inside the gitlab-ci.yml

Links / references