Open gilfthde opened 4 months ago
The backstage-plugin-github-workflows already uses the scmAuthApi to obtain an authentication token to connect to GitHub but it includes a hard-coded URL pointing to github.com to find the SCM provider to use.
backstage-plugin-github-workflows
scmAuthApi
github.com
I think it would be easy to extent support to GitHub Enterprise Server instances if the URL used for the lookup is derived from the backstage.io/source-location or backstage.io/managed-by-location annotation.
backstage.io/source-location
backstage.io/managed-by-location
The
backstage-plugin-github-workflows
already uses thescmAuthApi
to obtain an authentication token to connect to GitHub but it includes a hard-coded URL pointing togithub.com
to find the SCM provider to use.I think it would be easy to extent support to GitHub Enterprise Server instances if the URL used for the lookup is derived from the
backstage.io/source-location
orbackstage.io/managed-by-location
annotation.