veecode-platform / platform-backstage-plugins

Apache License 2.0
10 stars 3 forks source link

Support for GitHub Enterprise Server #6

Open gilfthde opened 4 months ago

gilfthde commented 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.

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.