Commit Graph

194 Commits

Author SHA1 Message Date
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 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 847df6efdd fix(github): Apply ignorePrAuthor during repo init issue prefetch (#36542) 2025-06-16 14:39:05 +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 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
RahulGautamSingh 72a5af81d3 feat(github): support automergeStrategy (#34537) 2025-02-28 17:26:24 +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
RahulGautamSingh 376e09f0b9 fix(platform/github): catch errors addLabels() (#32035) 2024-10-20 13:27:46 +00:00
RahulGautamSingh fbe4dbaf28 refactor(github): use redirect.github.com (#31025) 2024-08-29 06:06:16 +00:00
renovate[bot] eb8c08079e chore(deps): update typescript-eslint monorepo to v8 (major) (#30750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-14 10:33:02 +00:00
Chris Kin Yat Chan bae6f8da4e fix: github api calls to push commit does not increase commits limit (#30540) 2024-08-02 05:50:25 +00:00
Norbert Szulc 2e78a7117d fix!: normalize Python depName in every manager (#27733) 2024-07-25 15:28:16 +02:00
RahulGautamSingh bb6c27faf8 feat(github): convert platformCommit to enum (#29156)
BREAKING CHANGE: platformCommit will be automatically enabled if running as a GitHub app
2024-07-25 15:28:16 +02:00
RahulGautamSingh 5ed97aa738 refactor(vulnerability-alerts): move to REST API (#27378) 2024-07-25 15:28:16 +02:00
Rhys Arkins 702ffbc9c2 fix(platform): don't log if issues are disabled when closing (#30267) 2024-07-20 11:13:04 +00:00
RahulGautamSingh 4b502025fe refactor: rename platformOptions -> platformPrOptions (#30173) 2024-07-16 07:33:55 +00:00
Michael Kriese a02c850453 fix(dependency-dashboard): fix truncated issue body (#30081) 2024-07-08 12:14:27 +00:00
RahulGautamSingh e11f9d9882 fix(github): fetch all open issue if ignorePrAuthor=true (#29485)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-06-12 06:53:55 +00:00
Sergei Zharinov 51db0d9e38 fix(emoji): Use colorful version of warning emoji (#28888) 2024-05-08 11:57:39 +00:00
Sergei Zharinov 5c0628bf3b feat(host-rules): Support readOnly request matching (#28562)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-04-23 03:26:20 +00:00
Sergei Zharinov 03b9582ff4 feat(github): Enable HTTP cache for branch status checks (#28420) 2024-04-15 19:35:58 +00:00
Sergei Zharinov bf7bd05eb2 feat(github): Cache comments response (#28349) 2024-04-15 18:57:36 +00:00
Sergei Zharinov f08108ab2f feat(github): Enable HTTP cache for "findPr" (#28423) 2024-04-15 16:27:04 +00:00
Sergei Zharinov 579d8c83bc feat(github): Fetch issues during repo initialization (#27785) 2024-04-12 11:28:37 +00:00
RahulGautamSingh f8890796bf feat: update labels when config changes (#25340)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2024-03-30 04:49:13 +00:00
Sergei Zharinov 8596967060 feat(http): Switch to pluggable HTTP cache implementation (#27966)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-03-19 16:34:05 +00:00
David Straub ebf0c7b4d9 feat(platform): re-attempt platform automerge on github and gitlab (#26567)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-03-18 19:53:25 +00:00
Sergei Zharinov 0cc759c66e feat(github): Use schema for issue objects (#27782) 2024-03-10 11:54:57 +00:00
Rhys Arkins 3bdd530ae5 feat: forkCreation (#27686) 2024-03-02 10:42:43 +00:00
Rhys Arkins 2caf0b304b fix(github): skip forked repos when in fork mode (#27684) 2024-03-02 07:16:07 +00:00