orhun / git-cliff

A highly customizable Changelog Generator that follows Conventional Commit specifications ⛰️
https://git-cliff.org
Apache License 2.0
8.23k stars 165 forks source link

Support overriding the API URL in config #704

Open orhun opened 2 weeks ago

orhun commented 2 weeks ago

Is there an existing issue or pull request for this?

Feature description

Overriding the API URL for remotes is only possible via environment variables, e.g. GITLAB_API_URL. This is not very convenient.

This can be doable via config as well.

Desired solution

[remote.gitlab]
api_url="https://gitlab.archlinux.org/api/v4"
owner = "archlinux"
repo = "arch-repro-status"

Alternatives considered

None.

Additional context

No response