Commit graph

573 commits

Author SHA1 Message Date
Sergei Zharinov
147304785e
refactor(platform): Extract getRawFile method (#9404) 2021-04-05 10:24:00 +00:00
Sergei Zharinov
b80e7035c5
fix(github): Don't rely on time precision in test (#9403) 2021-04-05 06:11:49 +00:00
Sergei Zharinov
3e9bfa25d3
feat(github): Time threshold for PR reopening (#9392) 2021-04-04 11:08:08 +02:00
Sergei Zharinov
5928c8eb45
refactor(github): Platform-wide getJsonFile (#9383) 2021-04-03 14:47:54 +02:00
Rhys Arkins
94535d52e8
feat(github): reopen autoclosed PRs (#9305) 2021-03-30 12:07:44 +00:00
Rhys Arkins
a5e2a89817
fix: Revert "feat(github): reuse autoclosed PRs (#9300)" (#9304)
This reverts commit eb2873e22e.
2021-03-28 15:15:04 +00:00
Rhys Arkins
eb2873e22e
feat(github): reuse autoclosed PRs (#9300) 2021-03-28 11:02:15 +02:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
399d7ea73e
refactor: platform.getPrBody -> massageMarkdown (#8787) 2021-02-28 18:19:35 +00:00
Rhys Arkins
34418825df fix(forkMode): use forkToken when changing default branch 2021-02-27 09:06:39 +01:00
Rhys Arkins
f4e9e92e77 fix(github): include name field when setting fork default branch 2021-02-27 06:42:41 +01:00
Rhys Arkins
eef58e2e01 fix(github): paginate all check-runs 2021-02-22 08:48:34 +01:00
Rhys Arkins
5f7b710a4c fix(github): log token type correctly 2021-02-11 17:49:52 +01:00
Rhys Arkins
f533962a98
feat(github): change fork default branch (#8516) 2021-02-03 15:03:44 +01:00
Rhys Arkins
e8c1b26d9c refactor(github): improve fork tests 2021-02-03 12:02:15 +01:00
Rhys Arkins
c59afaeb43 logs: log if fork default branch is different from parent 2021-01-30 11:57:14 +01:00
Rhys Arkins
3d6b142283
fix(github): support default branch rename when forking (#8469) 2021-01-30 10:31:33 +01:00
Rhys Arkins
ebb40b3adb
fix(github): pass up repo not found in init (#8355) 2021-01-19 23:07:12 +01:00
Sergei Zharinov
1a708f0368
fix(github): Paginate open and closed PR lists (#8008) 2021-01-09 17:28:09 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 (#7940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +01:00
Rhys Arkins
54c8f2e588
feat: ignorePrAuthor (#7853)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-02 15:01:48 +01:00
Jamie Magee
bffd90de66
fix(git): propagate cloneSubmodules (#7844) 2020-11-29 20:41:53 +01:00
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