Commit Graph

227 Commits

Author SHA1 Message Date
renovate[bot] b4ed9e65d9 chore(deps): update dependency @vitest/eslint-plugin to v1.3.23 (main) (#38702)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.23

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.16 | 1.3.23 |

* remove now unnecessary exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-31 07:50:48 +00:00
RahulGautamSingh 95ea2c9078 fix(branchPrefix): include base branch name iff multiple bases expected (#35423)
* use branchPrefix if multiple base branches expected

* fix test

* fix coverage

* apply suggestions

* apply suggestions

* use utility fn

* refactor tests

* fix test

* major overhaul: use baseBranches field internally

suggested by @secustor

* refactor: cleanup

* test: use better descriptions

* add tests

* fix logic

* fix test

* exclude unlisted versions when finding latestStable

---------

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-10-20 06:27:56 +00:00
renovate[bot] 1280fe4dc7 chore(deps): update dependency @vitest/eslint-plugin to v1.3.16 (main) (#38502)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.16

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.13 | 1.3.16 |

* fix linting errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-13 09:24:15 +00:00
Sergei Zharinov d877999ea2 fix: Reopen autoclosed PRs with new title (#38347)
* refactor: Pass new title when reopening autoclosed PR

* Add title parameter to `tryReuseAutoclosedPr`
2025-10-02 19:55:45 +00:00
Sergei Zharinov 3ec515a7fb fix(github): Force push fresh branch when reopening PR (#38344)
* fix: Use SHA of fresh branches when reopening PR

* Revert

* Add force push for differing local and PR commit SHAs

* Update GitHub PR reopening with local SHA

* Update GitHub platform PR reopening logic

* Fix

* Remove title-related changes, keep only force-push logic
2025-10-02 15:45:49 +00:00
vivodi 5f286f2a88 fix(github): skip non-fast-forward ruleset detection when rebaseWhen=auto (#38306)
According to the [GitHub Docs](https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#get-rules-for-a-branch), the definition of the non_fast_forward ruleset is: “Prevent users with push access from force pushing to refs.”

Even if this ruleset is applied, a head branch that lags behind the base branch can still be merged normally. In other words, this ruleset has nothing to do with whether a rebase is required.
2025-10-01 15:17:05 +00:00
Sebastian Poxhofer f6d2a86707 feat(github): consider rulesets strict checks for rebaseWhen=auto (#38072) 2025-09-21 06:22:21 +00:00
Sebastian Poxhofer fcfdbd8405 refactor(github): improve branch protection handling and add tests fo… (#37922)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-09-13 05:41:15 +00:00
Michael Kriese 7ac5c93070 fix(platform): open or update issue correctly (#37831) 2025-09-04 10:29:04 +00:00
Michael Kriese 798b7c7ab5 fix: use shared email type (#37512) 2025-08-14 13:34:03 +00:00
Michael Kriese 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
Jarek Porzucek 6196ae10db fix(github): Enable pagination when fetching Dependabot alerts (#37395) 2025-08-12 13:26:25 +00:00
Rhys Arkins 427f78248a fix(platform/github): reduce max body length to 58k (#37236) 2025-07-31 11:08:02 +00:00
Michael Kriese 7a23c50612 fix(github): reduce max body length (#37228) 2025-07-30 15:57:22 +00:00
Sergei Zharinov 0c25305f34 refactor(github): Refactor PR username parameter handling (#37003) 2025-07-16 10:19:09 +00:00
Sergei Zharinov f9ab9d0c04 fix(github): Lower PR cache log level from debug to trace (#36898) 2025-07-08 15:13:50 +00:00
renovate[bot] 3c75ce63fa chore(deps): update vitest monorepo to v3.2.4 (main) (#36539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-07-01 14:24:04 +00:00
Sergei Zharinov 70c181b2f9 feat(github): Add more debug logging for PR/issue cache (#36545) 2025-06-17 11:44:45 +00:00
Sergei Zharinov 22a8be3f96 fix(github): Make user GraphQL parameter optional (#36547) 2025-06-17 08:41:57 +00:00
Sergei Zharinov 847df6efdd fix(github): Apply ignorePrAuthor during repo init issue prefetch (#36542) 2025-06-16 14:39:05 +00:00
renovate[bot] 98bd07d65f build(deps): update remark (main) (major) (#36455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-06-15 07:10:47 +00:00
renovate[bot] e47603cd0a chore(deps): update vitest monorepo to v3.2.0 (main) (#36396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-06-10 11:28:39 +00:00
Sergei Zharinov 1aa2972bac feat: Display abandoned packages (#35868)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-05-25 14:32:04 +00:00
RahulGautamSingh 99411970a1 feat(git): Support baseBranches in fork mode (#36054)
Signed-off-by: Jan Høydahl <janhoy@users.noreply.github.com>
Signed-off-by: Jan Høydahl <jan.git@cominvent.com>
Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
Co-authored-by: Jan Høydahl <jan.git@cominvent.com>
Co-authored-by: Jan Høydahl <jh@cominvent.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-24 07:06:07 +00:00
Rhys Arkins 68b5193213 fix(git): Revert "feat(git): use git fetching for forkMode" (#36045) 2025-05-20 11:03:36 +00:00
RahulGautamSingh 4e12e52b49 feat(git): use git fetching for forkMode (#36024) 2025-05-19 15:05:48 +00:00
RahulGautamSingh 49fa1be464 feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +00:00
Sergei Zharinov db8dda2378 fix: Explicitly disable memCache when caching is switched on/off (#35060)
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2025-03-30 08:02:36 +00:00
Sergei Zharinov f977700649 feat(http): Switch to memory cache provider (#33901)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-03-24 08:02:47 +00:00
renovate[bot] 94c073ab6b chore(deps): update linters (main) (#34869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-03-23 17:57:04 +00:00
Sergei Zharinov f957ea8fec test: Fix coverage for platform code (#34719) 2025-03-23 07:06:52 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese 4f60a8b7fe test: mock git globally (#34783) 2025-03-13 15:48:02 +00:00
RahulGautamSingh 72a5af81d3 feat(github): support automergeStrategy (#34537) 2025-02-28 17:26:24 +00:00
Michael Kriese 1644d9cb18 test: migrate more to vitest (#34500) 2025-02-26 15:45:17 +00:00
Trim21 6e5731b554 test: migrate from jest to vitest (#34499) 2025-02-26 14:18:38 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
renovate[bot] f2f8f84bd6 chore(deps): update linters to v8.22.0 (#33880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-02-04 22:05:57 +00:00
Sergei Zharinov 9b4e515024 refactor(http): Separate getJson and getJsonUnchecked (#33651) 2025-01-17 14:18:00 +00:00
RahulGautamSingh 5282f7c080 fix(github): remove deleted issue from issues cache (#33349) 2025-01-08 11:42:12 +00:00
RahulGautamSingh a42069da44 fix(platform/github): use correct url to find pr when only using branch name (#33324) 2024-12-29 06:58:30 +00:00
Rhys Arkins e27fe66980 feat(git): cloneSubmodulesFilter (#33115) 2024-12-18 13:01:14 +00:00
Sergei Zharinov c5ba4c5196 fix(platform): Separate PR reuse from the branch PR search (#32100)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-11-05 13:23:51 +00:00
Philippe Ballandras b0bc3e8ffc fix(github)!: change automerge priority order to prefer squash (#32016)
Changes the priority order so that squash merges are preferred over rebase merge and merge commits. Doing so allows GitHub to sign the resulting commit on the base branch.

BREAKING CHANGE: Renovate will now prefer squash merges over others in GitHub, if they are allowed.
2024-11-04 14:43:20 +01:00
Sergei Zharinov 218804895d refactor(github): Use matching refs search instead of HEAD requests (#32046) 2024-10-21 07:38:11 +00:00
RahulGautamSingh 376e09f0b9 fix(platform/github): catch errors addLabels() (#32035) 2024-10-20 13:27:46 +00:00
Payman Delshad b775d83830 fix(vulnerability-alerts): fix handling of first_patched_version: null (#31447) 2024-09-17 16:34:15 +00:00
RahulGautamSingh fbe4dbaf28 refactor(github): use redirect.github.com (#31025) 2024-08-29 06:06:16 +00:00
Sergei Zharinov bf2f3c3ca6 fix: Revert "fix(github): Sanitize mentions in commit bodies (#30842)" (#30910) 2024-08-20 09:53:38 +00:00