Commit Graph

153 Commits

Author SHA1 Message Date
Rhys Arkins 3cc637f6f2 fix(github): try push branch if rebase fails (#22376) 2023-05-25 15:15:56 +02:00
Marcus Crane 06b8dcdca1 feat(platform/github): Skip archived repos at earliest point when retrieving repo listings (#22057) 2023-05-10 05:39:20 +00:00
Rhys Arkins 91cbe5bdcc fix(github): try automerge PR even if approving reviews required (#21883) 2023-04-29 08:55:52 +00:00
Jamie Magee a6dfa70c1d chore: migrate to structuredClone (#20885)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-27 05:06:22 +00:00
Sergei Zharinov 1adc0777da fix(platform/github): Fix branch recreation for existing branches (#21629) 2023-04-20 17:51:00 +00:00
Sergei Zharinov 66d1ae94d3 refactor(git): Rename fetchCommit to fetchBranch (#21581) 2023-04-18 19:30:05 +00:00
renovate[bot] da29ed179c chore(deps): update dependency @types/luxon to v3.3.0 (#21418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
Michael Kriese 49d62307d9 fix(platform/github): don't retry merge when blocked by required status check (#21063)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-03-23 08:17:22 +00:00
RahulGautamSingh 33cd2331e7 fix(platform/github): detect pr-edited if target changed (#21026)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-19 16:08:41 +00:00
Rhys Arkins f765e6fb1d feat!: internalChecksAsSuccess (#20572)
Adds new config option `internalChecksAsSuccess`, defaulting to `false`.

Closes #7800

BREAKING CHANGE: Internal checks such as `renovate/stability-days` will no longer count as passing/green, meaning that actions such as `automerge` won't
occur if the only checks are Renovate internal ones. Set `internalChecksAsSuccess=true` to restore existing behavior.
2023-03-10 09:34:41 +01:00
Paul Gschwendtner 340a913a48 feat(platform/github): flag to control whether PRs can be edited by maintainers if forkTokenis set (#19771) 2023-02-22 13:07:03 +00:00
RahulGautamSingh 9c0e1389d0 refactor: remove displayNumber (#20410) 2023-02-15 07:18:48 +00:00
Rostislav Simonik 05517e6d8a feat: add ignoreReviewers config option (#19776) 2023-02-11 07:24:02 +00:00
RahulGautamSingh 7ff4b53439 test: replace as with partial (#20252)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-07 11:38:59 +00:00
Jamie Magee e3b163f07a feat: log when using fine-grained PATs (#20097)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-30 08:48:29 +01:00
RahulGautamSingh 8e4b5231f8 refactor: convert enums to unions (#18900) 2022-11-20 07:34:23 +00:00
Rhys Arkins 9562cf4009 fix(github): catch fork list failures gracefully (#18933) 2022-11-16 08:01:50 +02:00
RahulGautamSingh af3b2038f8 refactor: replace enums with union/object (#18903) 2022-11-14 20:55:38 +02:00
RahulGautamSingh d869c946d1 refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
Rhys Arkins 496c7f09b7 fix(github): check required reviews count (#18783) 2022-11-06 08:06:13 +00:00
Rhys Arkins c804d088e2 feat(github): refactor forkMode to reduce API queries (#18769) 2022-11-05 07:25:33 +00:00
Rhys Arkins 0e9da7b441 chore: trace http logs (#18652) 2022-10-29 06:15:21 +00:00
Sergei Zharinov b2d18d1110 feat(http): maxRequestsPerSecond (#18325) 2022-10-25 11:03:19 +00:00
Rhys Arkins caad0ae28e feat(github)!: remove forkMode setting (#18074)
Removes forkMode setting and instead relies on forkToken alone to indicate forking mode is active. Additionally, defines forkToken as an experimental setting.

BREAKING CHANGE: No longer necessary to configure forkMode. Forking mode is now experimental.
2022-10-23 06:48:35 +02:00
Sergei Zharinov d0027cf240 fix(github): Remove PR cache migrations code (#18021) 2022-09-28 12:43:19 +02: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
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
Michael Kriese 8ad1947e4a fix(http): clear queues after hostrules change (#17563) 2022-09-01 09:36:04 +02: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 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
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
Tobias 6a78436600 feat(github): enable platformAutomerge feature for GHES>=3.3 (#15924) 2022-06-14 16:57:15 +02:00
Gabriel-Ladzaretti 1c248e284f fix(platform/github): dryrun skip autoclosed prs reopening (#15727) 2022-05-26 07:12:30 +02:00
Sergei Zharinov f292e76852 feat: Cache compacted PR body structure (#15303) 2022-05-09 10:24:28 +00:00
Sergei Zharinov add3520a30 fix(github): Use long pages for initial PR lsit fetch (#15400) 2022-05-02 18:59:17 +00:00
Michael Kriese 982cefff2b refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Sergei Zharinov 05c0c9bd4b fix(github): Drop ETag support for PR cache (#15292) 2022-04-24 18:36:06 +02:00
Sergei Zharinov ce52bda3c8 feat(github): Remove irrelevant fields from PR cache (#15283) 2022-04-23 15:23:06 +00:00
Sergei Zharinov b722489191 feat(github): Descrease PR list page size (#15280) 2022-04-23 14:28:35 +01:00
Michael Kriese 53bd90b30f refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00
Sergei Zharinov d663859207 feat(github): Fetch PRs using cacheable REST (#14907) 2022-04-15 17:21:09 +00:00
Michael Kriese ac12692637 fix(platform:github): filter discovered null repos (#15097) 2022-04-13 07:24:17 +01:00
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Michael Kriese 443bef5c52 test: cleanup snapshot tests (#15082) 2022-04-12 15:09:19 +01:00
Sergei Zharinov 0245f0f461 refactor(github): Explicit coerce functions for PR list responses (#14884) 2022-04-02 04:33:32 +00:00
nyg 18b884d4a7 fix(github): Ignore vulnerability alerts in FIXED or DISMISSED states (#14431) 2022-03-28 14:16:25 +02:00