Commit Graph

512 Commits

Author SHA1 Message Date
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
Sergio Zharinov 41983bf29a fix(github): Use GraphQL for initRepo (#6726)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-12 18:18:44 +02:00
Sergio Zharinov 581844a085 fix(github): Fix accept headers for Github HTTP wrapper (#6736)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-12 15:29:26 +02:00
Sergio Zharinov e2af296c48 refactor: Rename GraphQL query methods (#6732) 2020-07-12 08:10:38 +02:00
Rhys Arkins a8f27e0bf3 feat: dependencyDashboard (#6729) 2020-07-11 11:55:30 +02:00
Rhys Arkins 9b8f010f99 fix(github): don’t disable automerge on ghe if push protection enabled 2020-07-11 08:09:05 +02:00
Michael Kriese e11875e036 refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Rhys Arkins ce8ce887d7 fix(github): harden commit checks 2020-07-09 07:44:55 +02:00
Rhys Arkins ab987941ac fix(github): delete fork after patch failure 2020-07-09 07:26:22 +02:00
Rhys Arkins 4665dbff6f refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins 4f48cd1a4e refactor: remove platform.getPrFiles (#6702) 2020-07-08 06:49:54 +02:00
Rhys Arkins 60d1a5f35a chore: remove unused github platform variables 2020-07-07 09:32:33 +02:00
Rhys Arkins 52cddfde8b refactor: remove branch functions from platform (#6676) 2020-07-04 18:15:29 +02:00
Rhys Arkins ab0ebfeeb4 refactor: remove getFile/getFileList from platform (#6674) 2020-07-04 14:28:49 +02:00
Rhys Arkins ac59df7c7e refactor: remove getRepoStatus from platform (#6672) 2020-07-04 13:52:33 +02:00
Rhys Arkins 1e0c759f3d refactor: remove unnecessary cleanRepo() (#6671) 2020-07-04 12:48:09 +02:00
Sergio Zharinov 1137112130 refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov 679176f26e test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Sergio Zharinov d144013af1 refactor(platform): Make git to be class-less (#6635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-01 12:45:53 +02:00
Rhys Arkins 7611e6353a refactor: git/storage -> git/index 2020-06-29 09:11:55 +02:00
Rhys Arkins dd636ed15c refactor: pass git author in initRepo (#6605) 2020-06-27 12:21:47 +02:00
Rhys Arkins 031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins 52a074e041 refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins 3a4e153af0 fix(github): send versioned accept header (#6456)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 11:21:45 +02:00
Rhys Arkins 75c0ca6065 refactor(platform): pass CommitFilesConfig through 2020-06-02 15:58:47 +02:00
Tanet Trimas 818cbdb73a feat(github): Add support for Draft PRs (#6390) 2020-06-01 07:30:11 +02:00
Florian Greinacher 81a5deeb29 feat: add support for setting assignees/reviewers from code owners (#6244) 2020-05-30 07:15:08 +02:00
Rhys Arkins efb851ae6a feat: write git private key (#6321)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 12:46:21 +02:00
Rhys Arkins 29b24ac1a0 fix(github): log result if graphQl fails 2020-05-28 10:30:06 +02:00
Rhys Arkins 0f7e0dde99 fix: remove PR has been edited comments 2020-05-27 07:13:54 +02:00
Rhys Arkins 73694efd82 fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Rhys Arkins 082cd4ee89 feat: remove third party pr validation
Renovate will no longer attempt to retrieve and validate the config of PRs created by other users or bots.

BREAKING CHANGE: Renovate will no longer create renovate/verify status checks on third party PRs.
2020-05-19 13:09:54 +02:00
Jamie Magee 53ce3cf4d6 chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Sergio Zharinov fcced24a6a refactor(github): Remove old Github platform wrappers (#6203)
* refactor(github): Remove old Github platform wrappers

* Refactor 'util/cache/run' imports

* Fix pod http client

* Fix test

* refactor(pod): Split request functions

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-16 10:53:11 +02:00
Rhys Arkins f8a418f82a fix(github): better detection of locked PR
Closes #6215
2020-05-16 09:11:04 +02:00
Rhys Arkins 6a1dab6412 refactor(platform): commitFilesToBranch -> commitFiles 2020-05-14 14:13:08 +02:00
Rhys Arkins 5bd2d42d5a fix(platform): don’t pass parentBranch to platform commitFilesToBranch (#6227) 2020-05-14 12:20:24 +02:00
Björn Brauer c862677623 feat(platform): remove comments by content (#6181) 2020-05-12 23:21:58 +02:00