Skip to content
Snippets Groups Projects
  1. Jun 07, 2018
    • Dragomir Țurcanu's avatar
      feat: comment in PR when branch automerge fails (#2058) · aa84074d
      Dragomir Țurcanu authored
      This PR adds the feature of commenting on a failed automerge. It's done by adding a conditional in `lib/workers/branch/automerge.js` which, in case of receiving `failure` or `error` from the `getBranchStatus` function, returns the "branch status error" value. Another modification is in `lib/workers/branch/index.js`, which is an adition to the failure response of the `tryBranchAutomerge` function. The added functionality is the ability to add a comment to the PR which had a failure automerging. In case of receiving the aforementioned "branch status error" value, to the comment is appended a note which emphasize the fact that there're multiple failed status checks.
      
      Closes #1934 
  2. Jun 04, 2018
  3. Jun 03, 2018
  4. May 28, 2018
  5. 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
  6. May 18, 2018
  7. May 16, 2018
  8. May 13, 2018
  9. May 09, 2018
  10. May 07, 2018
  11. May 04, 2018
  12. May 01, 2018
  13. Apr 17, 2018
  14. Mar 28, 2018
  15. Mar 27, 2018
  16. Mar 22, 2018
  17. Mar 20, 2018
  18. Mar 15, 2018
  19. Mar 12, 2018
  20. Mar 06, 2018
  21. Mar 04, 2018
  22. Mar 01, 2018
  23. Feb 27, 2018
  24. Feb 19, 2018
  25. Feb 16, 2018
  26. Feb 15, 2018
  27. Feb 12, 2018
  28. Feb 09, 2018
  29. Feb 08, 2018
  30. Feb 07, 2018
Loading