commitizen-tools / commitizen-action

Commitizen github action to bump and create changelog
MIT License
75 stars 34 forks source link

fix: Add support for GitHub Enterprise Server #66

Closed phoenix1480 closed 1 year ago

phoenix1480 commented 1 year ago

This PR adds support for GitHub Enterprise server domain by using the built-in variable GITHUB_SERVER_URL. This is based on approach in PR https://github.com/commitizen-tools/commitizen-action/pull/52 by @a-berthroud and includes latest changes from master.

phoenix1480 commented 1 year ago

@woile We are looking to use Commitizen with some automated release workflows on a GitHub Enterprise Server setup right away for an internal project. The GitHub support team identified that a static entry for github.com was causing issues when we run the workflow. Are you able to assist reviewing this PR which should pull from the built-in variable regardless of public GitHub vs GHES? Thank you kindly!