Commit Graph

631 Commits

Author SHA1 Message Date
Michael Kriese 7afc2b75d5 test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Sergei Zharinov 87011e78ef fix(github): Disable platform-native automerge for GHE (#12483) 2021-11-04 07:04:45 +01:00
Rhys Arkins 89efe91ae9 fix(github): separate platformConfig (#12473) 2021-11-03 18:39:17 +00:00
Rhys Arkins aa73a7bb22 refactor: rename consts in platform/github 2021-11-03 09:44:57 +01:00
Rhys Arkins 6c49629d12 fix(github): disable hasIssuesEnabled for GHE (#12466) 2021-11-02 19:53:13 +00:00
Sergei Zharinov d590418111 fix(github): Disable autoMergeAllowed field for GHE (#12458) 2021-11-02 20:38:38 +01:00
Rhys Arkins fff2cd1c9f fix(github): empty issues list 2021-11-01 12:26:04 +01:00
Rhys Arkins 327e41b556 fix(github): detect issue disablement 2021-11-01 09:50:46 +01:00
Rhys Arkins e15f327700 fix(github): detect disabled issues during initRepo (#12409) 2021-10-31 07:16:22 +01:00
Jerome Garec db6bc92d1b fix(cache): support cached json5 config file (#12412) 2021-10-31 06:17:20 +01:00
Sergei Zharinov 627681c82a feat(github): Detect GitHub automerge setting (#12398) 2021-10-29 17:37:05 +00:00
Sergei Zharinov 10f7beb2ff feat(github): Support multiple auto-merge types (#12393)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-10-29 14:54:59 +02:00
Oleg Krivtsov 29dde2f694 test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Rhys Arkins 7a54591a5c logs: confirm github automerge 2021-10-20 13:29:33 +02:00
RahulGautamSingh da73178171 fix: refactor regex to use re2 (#12216)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-20 04:38:49 +00:00
Sergei Zharinov eef4c2f11f feat(github): Use native auto-merge when possible (#12045) 2021-10-20 03:31:03 +00:00
Rhys Arkins 09d1ca5bce fix: log initRepo error 2021-10-19 17:18:33 +02:00
Sergei Zharinov 9c6b79c990 refactor(github): Generic graphql request helper (#12142) 2021-10-13 11:31:22 +02:00
Maksim 1f86b71fd5 refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
Maksim 7801ae7c16 feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Rhys Arkins 6113ebaa85 fix(github): increase pageLimit for forkMode (#11663) 2021-09-10 05:47:50 +02:00
Michael Kriese 11aa3baf2e test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Michael Kriese 8785f70b93 fix(core/http): fallback to github /gitlab hosttype (#11605)
* fix(core/http): fallback to github /gitlab hosttype

* fix: remove generic host rule

* Update lib/util/http/index.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-06 21:07:52 +02:00
Rhys Arkins de727153db fix: remove global.gitAuthor (#11536) 2021-09-02 14:08:12 +02:00
Jesko Steinberg 9f791552d3 feat: enable right filtering when specifing hostRules with github-api using datasources (#11136)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-25 07:07:23 +00:00
Michael Kriese ec549af1c4 feat(gitlab): allow override gitAuthor (#11408) 2021-08-24 19:07:06 +02:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Sergei Zharinov 6ec4e2bbb6 fix(github): Massage links to issues, pulls or discussions (#11214)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-13 06:23:35 +00:00
Rhys Arkins 9d6861bc8e fix: Revert "fix(github): Better massageMarkdown implementation" (#11210)
This reverts commit 0da13d1c18.
2021-08-11 04:40:20 +00:00
Rhys Arkins 50e5a8129f fix: simplify issue creation error messages (#11179) 2021-08-09 12:23:34 +02:00
Maksim 1bb004db4e refactor(platform): mergePr args to object (#11155) 2021-08-08 03:35:35 +00:00
Sergei Zharinov 0da13d1c18 fix(github): Better massageMarkdown implementation (#11133) 2021-08-07 09:19:14 +02:00
Sergei Zharinov e1aa548a07 refactor: Use JSON request snapshots when possible (#10925)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-06 12:02:37 +00:00
Jason Birch 3096f340c8 feat: expose merge strategy for configuration when automerging (#10627) 2021-07-29 09:06:55 +00:00
Rhys Arkins 331077ec0f fix: default issue labels to [] if null 2021-07-27 17:57:04 +02:00
Sergei Zharinov c20eff9b26 refactor: Use GraphQL variables instead of string templates (#10926)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-07-27 08:50:27 +02:00
Sergei Zharinov 5c0e293d73 refactor: Precise GraphQL test snapshots (#10916)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-21 21:50:13 +02:00
Michael Kriese 9247832066 fix: do not override labels when not configured (#10806) 2021-07-13 08:56:40 +02:00
Bob van de Vijver ac4f4a3f6d feat: Add dependency dashboard label configuration (#10601)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-09 07:41:43 +00:00
Niels Basjes c077f15831 fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Rhys Arkins 4a99883048 feat(platform): getIssue (#10453) 2021-06-16 15:53:50 +02:00
Rhys Arkins 8f2358646a fix(platform): remove duplicate delete after merge (#10434)
Already done by repository worker following successful mergePr()
2021-06-15 14:45:15 +02:00
Rhys Arkins 0e0f08b599 chore: log mergePr result 2021-06-10 21:32:00 +02:00
Michael Kriese 3c7546f7cd test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Sergei Zharinov fbbbce608e chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
renovate[bot] b8e36daa87 chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Rhys Arkins fe73751d69 fix(github): handle PLATFORM_INTEGRATION_UNAUTHORIZED for branch protection 2021-05-16 11:49:22 +02:00
Rhys Arkins f946b7407e fix(github): paginationField for check runs (#10003) 2021-05-15 12:14:34 +02:00
Rhys Arkins a70aa6b75b fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Rhys Arkins 8445c42590 fix(github): don't block forkToken automerge (#9909) 2021-05-07 21:23:46 +02:00