Commit Graph

194 Commits

Author SHA1 Message Date
Jamie Magee 176282e65f chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +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
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
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
Rhys Arkins 0fd539266d fix: Revert "feat(platform/github): automatic github registry authentication using the given github token" (#19490) 2022-12-20 13:35:27 +01:00
Philip 1b232a2ab5 feat(platform/github): automatic github registry authentication using the given github token (#18926) 2022-12-20 06:49:31 +01:00
Rhys Arkins a0fe269657 fix(github): compare repo names lower case (#19411)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-20 05:30:44 +00: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
Rhys Arkins b37ab2faa5 fix(github): don’t specify organization when forking (#18881) 2022-11-12 14:26:25 +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
RahulGautamSingh c56588eaba refactor: convert PlatformmId to union (#18458) 2022-11-01 14:46:09 +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 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
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 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
Gabriel-Ladzaretti 9c23f48008 fix(core/dashboard): fix truncated issue body (#16527) 2022-08-15 06:00:26 +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
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
Olivier Michaelis 5568420c78 feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Sergei Zharinov c866fd06fc fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +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
Tobias 6a78436600 feat(github): enable platformAutomerge feature for GHES>=3.3 (#15924) 2022-06-14 16:57:15 +02:00
Rhys Arkins 561c08d545 fix(github): filter vulnerability states only for >=3.5 (#15920)
Closes #14431
2022-06-07 09:12:23 +02:00
Rhys Arkins 381481ace1 fix: log GHES version 2022-06-07 07:50:46 +02:00
Gabriel-Ladzaretti 1c248e284f fix(platform/github): dryrun skip autoclosed prs reopening (#15727) 2022-05-26 07:12:30 +02:00
Michael Kriese ef470f7f92 feat(config): parse json files as json5 (#15187) 2022-04-29 08:34:55 +00: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
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
Sergei Zharinov 9933dda182 refactor(github): Stop using cannotMergeReason field (#14823) 2022-03-28 13:15:45 +02:00
MaronHatoum ef3db00462 fix(platform): renovate should not be case sensitive (#14714) 2022-03-20 12:13:51 +01:00
Sergei Zharinov d2c42ebe42 refactor(platform/github): Simplify test mocks (#14725) 2022-03-19 06:03:41 +00:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00