Commit Graph

790 Commits

Author SHA1 Message Date
Sergei Zharinov ffc63c35c2 fix(github): Update long-term GitHub cache during run (#17972) 2022-09-26 10:59:49 +00:00
Sergei Zharinov 36516198c9 fix(github): Don't store raw PR data in long-term cache (#17967) 2022-09-26 04:51:13 +00:00
Alexander Grießer 9efc8a428c fix(bitbucket-server): Fix retrival of config files with oneline json5 comments (#17904)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-09-22 05:59:41 +00:00
Gabriel-Ladzaretti 23e2508897 feat(code/onboarding): infrastructure for onboarding PR rebase/retry checkbox (#17673)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-20 09:09:05 +02:00
Adam Setch 9596bfa363 feat(platform/bitbucket): update to use effective default reviewers (#17869) 2022-09-20 07:34:42 +02:00
Philip 5fd8c2bd8b refactor: Refactor azure (#17858)
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
2022-09-19 13:37:14 +02:00
Sergei Zharinov 6c2dd8e28d refactor(github): Extend common Pr type to support updatedAt field (#17671) 2022-09-07 12:12:20 +00:00
Sergei Zharinov 2b7e885edb fix(github): Catch errors inside fetchPr call (#17666) 2022-09-07 11:59:29 +00:00
Sergei Zharinov a6139ad5fe refactor(github): Remove unused etag support for PR cache (#17665) 2022-09-07 07:29:45 +00:00
Sergei Zharinov 2df8967ae2 refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Gabriel Bleu 56c61c962f feat(gitlab): handle merge results pipelines (#17440) (#17601) 2022-09-06 07:09:58 +00:00
Sergei Zharinov b23b886b6e refactor(github): Remove unused PR cache functionality (#17606) 2022-09-04 08:20:29 +00:00
HonkingGoose 12f643d362 docs: lazy-load images (#17565) 2022-09-02 13:30:49 +02:00
Michael Kriese 8ad1947e4a fix(http): clear queues after hostrules change (#17563) 2022-09-01 09:36:04 +02:00
Michael Kriese 9caf45ed43 fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
Nathan Kuik d19b708b19 feat(platform/bitbucket): allow using OAuth token (#16900) 2022-08-24 10:15:00 +02:00
Michael Kriese 8f8f059d4f feat(gitlab): use server side archived filter (#17358) 2022-08-23 10:52:59 +00:00
Michael Kriese d01d440ac2 fix(gitea): filter mirror repos on autodiscover (#17359) 2022-08-23 08:34:17 +02:00
Sergei Zharinov d18538dc4d feat(platform): Provide repoFingerprint field on repository init (#17288)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-22 07:50:55 +00:00
Michael Kriese 6be533b94e test(platform/azure): coverage (#17269)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-18 19:45:53 +00:00
Rhys Arkins acaa8eb42f fix(azure): log repo not found message (#17268) 2022-08-18 19:25:47 +00:00
Michael Kriese 2525f7146b fix(presets): handle null values from azure (#17236) 2022-08-17 15:51:59 +00:00
Michael Kriese 0316a5e62d test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Gabriel-Ladzaretti 9c23f48008 fix(core/dashboard): fix truncated issue body (#16527) 2022-08-15 06:00:26 +00:00
Ryan Delaney 5069b60109 fix(docs): comma splices in help text (#17049) 2022-08-09 13:46:58 +03:00
Michael Kriese ababf34c7e refactor(gitea): cleanup types (#16968) 2022-08-04 12:00:48 +00:00
Michael Kriese a251fc494d feat(platform/gitea): support native automerge (#16885)
* feat(platform/gitea): support native automerge

* Update lib/modules/platform/gitea/index.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.spec.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 12:29:08 +02:00
Michael Kriese 16ea835218 feat(platform/gitea): support draft PR (#16888)
* feat(platform/gitea): support draft PR

* docs: update support state

* Update docs/usage/configuration-options.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 09:47:52 +00:00
Michael Kriese 61c045ca2f feat: use sha512 for hashes (#16907) 2022-08-02 11:36:26 +02:00
HonkingGoose 0154fe0314 docs(bitbucket server support): fix typo (#16891)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-01 10:20:58 +00:00
HonkingGoose e81b552abc fix(platform/github): rewrite debug message (#16889)
chore(github): rewrite debug message
2022-08-01 11:58:15 +02:00
Sergei Zharinov e4dbd4ad49 fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Michael Kriese ab7ddb5e3c feat(platform/gitea): support automergeStrategy (#16851)
* feat(platform/gitea): support `automergeStrategy`

* chore: revert change

* Update docs/usage/configuration-options.md

* Update docs/usage/configuration-options.md
2022-07-29 14:40:26 +02:00
Przemysław Romanik ac7aa81eda docs: Gitea account must have full name set for Git identity (#16792)
* Gitea account must have full name set for Git identity

* Update lib/modules/platform/gitea/index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-27 17:33:52 +00:00
Sergei Zharinov e4716ead14 refactor(github): Simplify long-form condition in findPr (#16813) 2022-07-27 16:27:46 +00:00
Sergei Zharinov eed6fe3349 refactor(github): Sort cached PR list (#16815) 2022-07-27 16:09:03 +00:00
Sergei Zharinov d774d82fcd test(github): Remove unnecessary type casts (#16816) 2022-07-27 15:44:37 +00:00
Michael Kriese 8270d5512d refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
RahulGautamSingh c7507255b7 refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
Olivier Michaelis 5568420c78 feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Jamie Magee c3c493baf1 docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
Philip 6453c3833f feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Sergei Zharinov c866fd06fc fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
jatladams e1bb2581ef feat(bitbucket-server): Support gitUrl (#13875) 2022-07-01 11:59:58 +02:00
Michael Kriese 10302eba68 refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Michael Kriese 69e3f5117e fix: use re2 (#16044) 2022-06-20 12:52:22 +00:00
Tobias 6a78436600 feat(github): enable platformAutomerge feature for GHES>=3.3 (#15924) 2022-06-14 16:57:15 +02:00
Dominic Seitz 953ef18e87 feat(gitea): Support gitUrl (#14947)
* feat: Support gitUrl on gitea platform

* refactor: use query token instead of auth header

* refactor: debug message style

* refactor: use url property query

* refactor: use basic http auth for gitea

* test: add gitea tests for gitUrl property

* refactor: capitalising abbreviations

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* refactor: move getRepoUrl to utils

* fix: add missing property ssh_url to fix linting

* fix: utils strict mode issues

* Merge branch 'main' into main

* refactor: use endpoint without api path slicing

* refactor: use different null check

* refactor: make urls optional

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: prettier fix

* test: update test

* refactor: throw error if clone_url is missing

* test: refactor empty clone_url test

* refactor: change empty clone_url logic

* refactor: change imports

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: add token tests

* refactor: replace deprecated url module

* refactor: add null checks

* test: add tests for null checks

* test: use host rule implementation instead of mock

* refactor: remove explicit typing

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: update mocking

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: change dynamic imports

* Update lib/modules/platform/gitea/utils.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-09 13:48:40 +00:00
Rhys Arkins 561c08d545 fix(github): filter vulnerability states only for >=3.5 (#15920)
Closes #14431
2022-06-07 09:12:23 +02:00