Commit Graph

549 Commits

Author SHA1 Message Date
Rhys Arkins d875cbf7e0 fix(github): add HAS_HOOKS to canMergeStates (#7598)
Closes #7597
2020-10-28 19:14:17 +01:00
Nils Plaschke 8b7dbe5d33 refactor(github): remove ghe compatibility checks (#7540)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-10-25 00:02:41 +02:00
Josh Soref 9aff7a955f chore: spelling (#7499) 2020-10-20 08:49:28 +02:00
Sergio Zharinov 4e08d56cfb fix(github): Do not limit pagination for discovered repos (#7476)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-16 06:54:54 +02:00
Rhys Arkins d858d85205 logs: trace ensureIssueClosing 2020-10-14 08:50:51 +02:00
Sergio Zharinov 517f5ecfb9 refactor(platform): move optimizeForDisabled, isFork logic to worker layer (#7379)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-02 11:57:52 +02:00
Rhys Arkins 2ac6c392c2 fix(github): don’t filter PRs if in fork mode 2020-09-23 05:14:11 +02:00
Sergio Zharinov feadc1417d fix(github): Add "sourceRepo" field for created PRs (#7347) 2020-09-22 11:35:11 +02:00
Sergio Zharinov 0ea1413e57 refactor(platform): Rename "branchName" to "sourceBranch" (#7284)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:09:59 +02:00
Sergio Zharinov 689b2ff015 fix(github): Return only PRs that were created by Renovate (#7216) 2020-09-21 17:02:40 +02:00
Sergio Zharinov 6ac379715b refactor(platform): Introduce optional getJsonFile function (#7174)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 11:08:51 +02:00
Rhys Arkins 9896f5e562 refactor: handle undefined platformOptions (#7227) 2020-09-09 11:07:38 +02:00
Rhys Arkins 73f11c09ee refactor: log setBranchStatus url if failing 2020-09-04 10:55:36 +02:00
Rhys Arkins 6a0fade7f9 refactor: drop defaultBranchSha from platform/github 2020-09-01 17:09:11 +02:00
Rhys Arkins 6dbb1c710c refactor: get defaultBranchSha from git 2020-08-31 13:14:13 +02:00
Rhys Arkins 012561f69a feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins 80b691c807 refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Sergio Zharinov 0701419d6e fix: remove statusCheckVerify option (#7094)
Closes #7057

BREAKING CHANGE: statusCheckVerify config option is no longer supported and will be ignored
2020-08-25 13:11:24 +02:00
Rhys Arkins 879966acdc fix(github): don’t delete forked repos (#7079)
Closes #7055
2020-08-24 15:17:24 +02:00
Sergio Zharinov 6f08421c9f logs(github): Decrease GitHub vulnerability logs verbosity (#6971) 2020-08-24 10:48:47 +02:00
Michael Kriese 6474dd49e5 chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Sergio Zharinov 45b9b4ebc4 refactor(platform): Decomplect branch deletion from PR state (#6988) 2020-08-18 20:38:53 +02:00
Sergio Zharinov cc8652e38c refactor(github): Support state changes for updatePr (#7012) 2020-08-18 13:21:44 +02:00
Sergio Zharinov cd064db4eb refactor(platform): Change signature types for "updatePr" method (#7002)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-18 12:19:19 +02:00
Rhys Arkins 76913a1889 feat(github): support app tokens (#6859) 2020-08-17 14:14:19 +02:00
Rhys Arkins 062045168a refactor(git): lazy sync git (#6984)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 13:31:53 +02:00
Rhys Arkins 6ddda0fa4b chore: fix lint 2020-08-11 23:19:00 +02:00
Rhys Arkins efbe610de8 fix(github): remove forked repo from list after deleting 2020-08-11 22:43:19 +02:00
Rhys Arkins 3e5ead7111 fix(github): don’t query forked repo list repeatedly 2020-08-11 22:41:06 +02:00
Rhys Arkins 2c99415ec3 fix(github): use forkToken for deleting the fork 2020-08-11 16:03:34 +02:00
renovate[bot] ccf286240e chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Rhys Arkins 09290abfe4 refactor: github platform return defaultBranchSha (#6911) 2020-08-04 14:06:07 +02:00
Rhys Arkins 0a28745095 fix(github): lazy fetch user and emails (#6851)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-26 13:51:19 +02:00
Rhys Arkins b11e5cb761 chore: rename platform types 2020-07-24 17:57:45 +02:00
Rhys Arkins 91be1678ac refactor: targetBranch mandatory in platform.createPr (#6829) 2020-07-23 12:43:06 +02:00
Rhys Arkins 6eb3bcca83 refactor(platform): remove baseBranch (#6828) 2020-07-23 11:36:35 +02:00
Rhys Arkins e6f52b49ac refactor(platform): remove baseCommitSHA (#6827) 2020-07-23 11:12:37 +02:00
Rhys Arkins eaffc19253 refactor: drop pr.isStale (#6826) 2020-07-23 10:15:51 +02:00
Michael Kriese 5815f75f13 feat(internal): migrate to got v11 (#6725)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-22 20:15:48 +02:00
Rhys Arkins ae43b51391 feat: change default bot email (#6740) 2020-07-22 20:11:22 +02:00
Rhys Arkins 1449e8324b feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins 008f781d42 refactor: mandatory branchName in setBaseBranch 2020-07-22 11:14:22 +02:00
Rhys Arkins d150b1768f refactor: platform defaultBranch 2020-07-22 11:14:15 +02:00
Rhys Arkins 20e57a1f6c refactor: createPr useDefaultBranch -> targetBranch (#6813) 2020-07-22 11:08:08 +02:00
Rhys Arkins 8ed043089e chore: fix github test 2020-07-21 15:58:23 +02:00
Rhys Arkins 92da666c6f fix(github): detect empty repos 2020-07-21 15:15:56 +02:00
Rhys Arkins 45ac664d9d fix(github): handle undefined initRepo result 2020-07-21 12:21:37 +02:00
Rhys Arkins 0571eb37e8 fix: don’t assign if MR already has assignees or reviewers (#6386)
* fix(gitlab): don’t assign if MR already has assignees

Closes #6375

* add more platforms

* fix github

* simplify gitlab

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-16 15:45:50 +02:00
Rhys Arkins 6d96d3d220 refactor: git.setBranch (#6739) 2020-07-13 07:31:22 +02:00
Rhys Arkins bb10d784e7 refactor: platform.initRepo return defaultBranch not baseBranch (#6737) 2020-07-12 21:30:11 +02:00