Skip to content

Add support for parsing $XDG_CONFIG_HOME/mr-label-maker/tokens.toml

Peter Hutterer requested to merge whot/mr-label-maker:wip/tokens-toml into main

Supports TOML files in the form of:

     	["https://gitlab.example.com"]
       	token = "blah blah"

If --token is missing and GITLAB_TOKEN is unset, look up the token value in that file. This way a user can set this up once and doesn't have to manually supply the token value for each project.

Edited by Peter Hutterer

Merge request reports