renovate/test/workers/branch
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
..
__snapshots__ feat: refactor dependency extraction (#1912) 2018-05-09 08:03:59 +02:00
lock-files refactor: lookup use versioning wrapper 2018-06-03 18:08:32 +02:00
automerge.spec.js feat: comment in PR when branch automerge fails (#2058) 2018-06-07 14:42:51 +02:00
check-existing.spec.js tests: update tests after code removal 2018-01-17 16:26:58 +01:00
commit.spec.js feat: modular branchName/prTitle/commitMessage templating (#1760) 2018-04-17 08:39:26 +02:00
get-updated.spec.js feat: refactor dependency extraction (#1912) 2018-05-09 08:03:59 +02:00
index.spec.js fix: unpublishable / unpublishSafe 2018-06-04 14:56:47 +02:00
parent.spec.js refactor: defer branch protection check (#1173) 2017-11-15 15:31:20 +01:00
schedule.spec.js fix: validate timezones (#1638) 2018-03-12 04:24:45 +01:00
status-checks.spec.js fix: unpublishable / unpublishSafe 2018-06-04 14:56:47 +02:00