Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
  2. Jun 14, 2020
  3. May 28, 2020
  4. May 07, 2020
  5. Apr 12, 2020
  6. Mar 30, 2020
  7. Mar 05, 2020
  8. Mar 01, 2020
  9. Dec 04, 2019
  10. Aug 26, 2019
  11. Aug 15, 2019
  12. May 27, 2019
  13. Apr 02, 2019
  14. Mar 11, 2019
  15. Feb 01, 2019
  16. Sep 03, 2018
  17. Jul 26, 2018
  18. May 19, 2018
    • Marco Massarotto's avatar
      Feat/allow ghe changelog (#1981) · 929231b4
      Marco Massarotto authored
      This PR follows up and fixes #1968
      
      The previous PR didn't behave correctly as it was expecting Github Enterprise to ALWAYS been configured and that the github.com token was available in the `GITHUB_COM_TOKEN` env variable.
      But for non GHE project `GITHUB_COM_TOKEN` is not defined and github.com token is available at the `GITHUB_TOKEN` env variable instead.
      
      This updated PR fix this issue and avoid further problems by prioritising `github.com` over GHE.
      Now the code is NOOP if no `GITHUB_ENDPOINT` is configured.
      
      If it's configured, instead, now the codes assumes that, by DEFAULT, a dependency is hosted on `github.com` so it removes `GITHUB_ENDPOINT` and use `GITHUB_COM_TOKEN` as Github token immediately.
      They are restored only if needed, when a dependency is hosted on the provided GithubEnterprise.
      929231b4
  19. May 16, 2018
  20. Apr 01, 2018
  21. Feb 06, 2018
  22. Feb 02, 2018
Loading