Skip to content

ci: Add a mr-label-maker configuration file

See https://gitlab.freedesktop.org/freedesktop/mr-label-maker/ this lets us run mr-label-maker and apply labels based on merge request paths and specific topics or key words in the title or description.

Ideally this will be run as part of a scheduled pipeline later, for now this just puts the bits in place so it can be run locally.


For local usage

$ pip3 install --user git+http://gitlab.freedesktop.org/freedesktop/mr-label-maker
$ cat ~/.config/mr-label-maker/tokens.toml
["https://gitlab.gnome.org"]
token = "personal token value"
$ cd gnome-control-center
$ mr-label-maker --dry-run --issues --merge-requests --since 120

To check any issues and merge requests updated in the last 120 minutes and apply labels (except it wont' do anything not, because it's a dry-run). Note that this will not overwrite labels, any issue/MR with a label already applied will be ignored.

Edited by Peter Hutterer

Merge request reports