renovate/lib/workers
Dragomir Țurcanu aa84074d76 feat: comment in PR when branch automerge fails (#2058)
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
2018-06-07 14:42:51 +02:00
..
branch feat: comment in PR when branch automerge fails (#2058) 2018-06-07 14:42:51 +02:00
global (refactor): delegate generic predicate checking to @sindresorhus/is (#2021) 2018-06-04 20:07:22 +02:00
pr feat: comment in PR when branch automerge fails (#2058) 2018-06-07 14:42:51 +02:00
repository refactor: use isSingleVersion not isRange 2018-06-06 12:25:10 +02:00