intuit / auto

Generate releases based on semantic version labels on pull requests.
https://intuit.github.io/auto/
MIT License
2.26k stars 204 forks source link

Enhanced shared configuration #2142

Open gitfool opened 2 years ago

gitfool commented 2 years ago

Is your feature request related to a problem? Please describe.

Following up from https://github.com/intuit/auto/issues/191, add support for something like preset hosting and local presets (for self-hosted ghes), which I use with renovate.

Describe the solution you'd like

I'd like to be able to share auto config by checking in a config per repo that simply points to this shared config (and allows extending it). For example, with renovate I can have the following config in a ghes repo, which causes renovate to load the config directly from ghes:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:base",
    "local>owner/repo:renovate-default"
  ]
}

The config can also be customized further by adding repo specific sections.

Describe alternatives you've considered

Additional context

hipstersmoothie commented 2 years ago

This is a pretty cool idea. I like that it enables shared config from non npm projects too!