Skip to content
Snippets Groups Projects
  1. Dec 10, 2018
  2. Dec 09, 2018
  3. Dec 08, 2018
  4. Oct 25, 2018
  5. Sep 12, 2018
  6. Sep 05, 2018
  7. Sep 03, 2018
  8. Jul 06, 2018
  9. Jul 02, 2018
  10. Jun 28, 2018
  11. Jun 19, 2018
  12. Jun 13, 2018
  13. Jun 11, 2018
  14. Jun 04, 2018
  15. Jun 03, 2018
  16. May 21, 2018
  17. 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
  18. May 16, 2018
  19. May 07, 2018
  20. May 01, 2018
Loading