Commit Graph

238 Commits

Author SHA1 Message Date
RahulGautamSingh e958373dbf chore: replace URL.parse (#40703)
* replace URL.parse

* fix test

* fix import extensions

* coverage

* add tests

---------

Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-01-27 16:19:02 +00:00
Sergei Zharinov c5b0a74f82 refactor: Remove constructor parameter properties (#40712) 2026-01-27 11:16:26 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
renovate[bot] acacad57c6 chore(deps): update linters (main) (#40277)
* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | eslint-plugin-oxlint | 1.36.0 | 1.38.0 |
| npm        | typescript-eslint    | 8.50.1 | 8.52.0 |

* chore: enable oxlint gha format

* chore: fix lint

* chore: fix lint

* chore: fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-14 15:32:48 +00:00
Adam Setch 330d175341 feat: caution attestation notice (#40368)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-11 08:03:51 +00:00
Shashi Kanth M 2809af341b fix(github/vulnerabilityAlerts): don't error on unknown ecosystems (#39417)
fix(github-alerts): safely skip unsupported vulnerability ecosystems without parse failure
2025-12-16 10:10:08 +00:00
Michael Kriese ad710ec6ea fix(platform): endpoint is a global only option (#39579) 2025-11-27 10:12:16 +00:00
Michael Kriese 0af770947b fix: ignorePrAuthor is a global repo config (#39578) 2025-11-27 09:05:15 +00:00
Michael Kriese 050ac8d23b chore: better code coverage (#39518) 2025-11-25 15:01:54 +00:00
Jamie Tanna b12f999d98 chore(github): "GraphQL" is one word (#39239) 2025-11-13 17:58:52 +00:00
RahulGautamSingh 76f911041a refactor: use named exports (#39196)
* use named exports

* fix test

* add missing imnport

* fix prettier
2025-11-10 12:00:35 +00:00
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