mergify icon indicating copy to clipboard operation
mergify copied to clipboard

Shareable configuration

Open DanySK opened this issue 2 years ago • 2 comments

Expected Behavior

Mergify should be able to be pointed to a configuration hosted somewhere else, using it as a base, similar to what, for instance Renovate does.

This is particularly handy when someone has many repositories needing the same (base) configuration.

Actual Behavior

As far as I know, the same configuration should get copied and pasted into every repository.

Proposal

These are some ideas of what it could look like, but better ways might be concocted.

# Imports the content of the URI, using it as a base
from: '<some URI>'

Alternatively:

# Includes rules from somewhere else, possibly with multiple sources.

import_pull_request_rules:
   -  '<some URI>'
   -  '<some other URI>'

import_queue_rules:
   -  '<some URI>'
   -  '<some other URI>'

DanySK avatar Aug 06 '22 11:08 DanySK

Hi @DanySK

This is an excellent idea and is already on our roadmap. :)

jd avatar Aug 08 '22 12:08 jd

Thanks! :pray:

Is the roadmap public? :eyes: I'd like to follow the progress!

DanySK avatar Aug 08 '22 13:08 DanySK