Pix4D / cogito

Concourse resource for GitHub Commit Status and Google Chat notifications
MIT License
35 stars 14 forks source link

PCI-3363 don't hardcode GitHub domain name #144

Closed aliculPix4D closed 8 months ago

aliculPix4D commented 9 months ago

We then later craft the API endpoint using: func apiEndpoint(h string) string function.

No tests were added, at least not for now. I think everything is covered by the existing tests. I could add the unit test for apiEndpoint function actually.

I will open a draft follow-up PR on top of this one, just to show you how simple will be to allow the GH Enterprise if this PR is merged.

marco-m-pix4d commented 8 months ago

@aliculPix4D I think we are almost there. I just left some comments on this apiEndpoint function.

aliculPix4D commented 8 months ago

@marco-m-pix4d @odormond ready for another round of review: https://github.com/Pix4D/cogito/pull/144/commits/f826246acc64f7f5b4775e000ca2b306d0f1d02a