RahulGautamSingh
977db29d2f
feat(platform/pr-body): add note if body is truncated ( #39457 )
...
* feat: add pr note if body truncated
* use debug log
2025-11-25 15:01:15 +00:00
Michael Kriese
77de384ba7
fix(forgejo): properly handle team reviewers ( #39533 )
...
* fix(forgejo): properply handle team reviewers
* fix(forgejo): properply handle team reviewers like github
2025-11-25 14:36:30 +00:00
RahulGautamSingh
6b89886d4e
fix(copier): broken log message ( #39230 )
...
* fix broken logic
* add test to confirm bbs pr-cache changes
* add test to confirm homebrew-extract changes
* Apply Suggestions
2025-11-18 22:35:05 +00:00
Jamie Tanna
b12f999d98
chore(github): "GraphQL" is one word ( #39239 )
2025-11-13 17:58:52 +00:00
Felipe Santos
84633f1e56
fix(gerrit): avoid retrieving messages in updatePr and createPr ( #39015 )
...
* fix(gerrit): avoid retrieving change messages in updatePr and createPr
* Remove more of now unnecessary code
* Remove useless TODOs
2025-11-12 15:42:22 +00:00
RahulGautamSingh
211b500052
test(gitea): add tests for pr-cache ( #39243 )
...
test: add tests for pr-cache
2025-11-12 07:18:59 +00:00
RahulGautamSingh
a034882394
test(forgejo): add tests for pr-cache ( #39244 )
...
test: add tests for pr-cache
2025-11-12 07:18:31 +00:00
RahulGautamSingh
afb5d24713
fix(bitbucket-server): better empty pr-cache handling ( #39245 )
...
fix(bitbucket-server): better empty pr-cache hadling
2025-11-12 07:17:48 +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]
b34bbb5b2a
chore(deps): update linters (main) ( #38897 )
...
* chore(deps): update linters
| datasource | package | from | to |
| ---------- | ----------------- | ------ | ------ |
| npm | @eslint/js | 9.37.0 | 9.39.0 |
| npm | eslint | 9.37.0 | 9.39.0 |
| npm | typescript-eslint | 8.45.0 | 8.46.2 |
* refactor: fix lint issues (#39183 )
* chore(deps): update linters
| datasource | package | from | to |
| ---------- | ----------------- | ------ | ------ |
| npm | @eslint/js | 9.37.0 | 9.38.0 |
| npm | eslint | 9.37.0 | 9.38.0 |
| npm | typescript-eslint | 8.45.0 | 8.46.2 |
* chore(deps): update linters
| datasource | package | from | to |
| ---------- | ----------------- | ------ | ------ |
| npm | @eslint/js | 9.37.0 | 9.39.0 |
| npm | eslint | 9.37.0 | 9.39.0 |
| npm | typescript-eslint | 8.45.0 | 8.46.2 |
* refactor
* revert unwanted changes
* version sync
* version sync
* sync versions
* sync versions
* Apply suggestion from @RahulGautamSingh
* use named exports
* fix new lint issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
2025-11-10 10:33:01 +00:00
Sergei Zharinov
be3724c150
fix(bitbucket): Use less agressive cache for findPr function ( #39060 )
...
* fix(bitbucket): Use less agressive cache for findPr function
* Use aggressive repo cache for branch commit retrieval
* Update index.ts
2025-11-04 14:18:52 +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
Felipe Santos
fc3f7a8ee7
fix(gerrit): remove memCache to fix prNo coming as null when pr-created ( #38957 )
2025-10-31 07:47:19 +00:00
Felipe Santos
3ea1611e87
feat(gerrit): handle pagination when querying changes ( #38535 )
...
* feat(gerrit): handle pagination when querying changes
* Add noPagination option, rename pageLimit to limit, and JSDoc them
* Rename limit to pageLimit
* Rename test references
2025-10-27 17:36:50 +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
Jamie Tanna
1fc5c91dc3
fix(gitlab): revert "use http.getJson" ( #38477 )
...
Revert "refactor(gitlab): use `http.getJson` (#37678 )"
This reverts commit 3a04ef7218 .
2025-10-08 18:04:43 +00:00
RahulGautamSingh
3a04ef7218
refactor(gitlab): use http.getJson ( #37678 )
...
* use getJson
* fix schema and tests
* make updated_at & target_branch non-optional
* convert head_pipeline[sha] to LongCommitSha type
2025-10-08 14:09:30 +00:00
Anne Stellingwerf
9fae0192a1
docs: introduce JSON schema validation and migration checks ( #38145 )
...
* docs: introduce JSON schema validation and migration checks
* refactor(tools): enhance code clarity with additional typings, comments, and optional chaining
* ci(workflows): add build steps to lint and type-check jobs
* Update tools/check-fenced-code.mjs
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
* Partial revert
* docs(jsonata): fix wording in code block title in readme
* ci(workflows): remove redundant build steps from workflows
* ci(workflows): remove redundant build steps from workflows
* refactor(tools): simplify error reporting
* Incorporate feedback
* Incorporate feedback
* Incorporate feedback
---------
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
2025-10-07 10:54:48 +00:00
RahulGautamSingh
ab38c132d3
fix(gitlab): return targetBranch ( #38385 )
...
fix: return targetBranch
2025-10-06 11:20:27 +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
dh-seanmurphy
fbf6b49898
fix(forgejo): allow fallbacks in case default merge style not allowed ( #38040 )
2025-09-19 20:18:06 +00:00
Sergei Zharinov
ad48b22d3b
feat(bitbucket): Better cache invalidation for branch status cache ( #38084 )
2025-09-18 19:36:43 +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
Sergei Zharinov
b3d5d7389f
feat(bitbucket): Replace mem cache with aggressive repo cache ( #37975 )
2025-09-12 04:39:57 +00:00
dh-seanmurphy
9096e55e3e
fix(gitea): allow fallbacks in case default merge style not allowed ( #37768 )
...
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
2025-09-09 08:53:22 +00:00
Michael Kriese
7ac5c93070
fix(platform): open or update issue correctly ( #37831 )
2025-09-04 10:29:04 +00:00
Michael Kriese
f3538c0502
feat(forgejo): support teams as reviewer ( #37589 )
2025-08-18 15:07:49 +00:00
Sergei Zharinov
3252d42706
feat(gitlab): Improved PR cache ( #37076 )
...
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-08-18 12:30:06 +00:00
David Hutchison
d085a8c49d
fix(codecommit): reset cached pull request list when initializing repository ( #36468 )
2025-08-16 08:44:21 +00:00
portly-halicore-76
35e15006f6
fix(bitbucket-server): getUsersFromReviewerGroup to return slugs, not emails ( #37510 )
...
Signed-off-by: portly-halicore-76 <170707699+portly-halicore-76@users.noreply.github.com >
2025-08-15 08:14:49 +00:00
portly-halicore-76
2f1fb357c4
fix(bitbucket-server): getUsersByEmail pagination zod error ( #37533 )
...
Signed-off-by: portly-halicore-76 <170707699+portly-halicore-76@users.noreply.github.com >
2025-08-15 07:21:51 +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
portly-halicore-76
c59727ffa5
feat(bitbucket-server): extend CODEOWNER support ( #37161 )
...
Signed-off-by: portly-halicore-76 <170707699+portly-halicore-76@users.noreply.github.com >
Co-authored-by: Anne Stellingwerf <1637358+astellingwerf@users.noreply.github.com >
Co-authored-by: Johannes Feichtner <343448+Churro@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@gmx.de >
2025-08-14 09:32:21 +00:00
Michael Kriese
25f9c1c5ea
refactor(gitlab): move code ( #37483 )
2025-08-13 15:36:59 +00:00
Michael Kriese
a5f3956210
refactor: remove default radix from parseInt ( #37489 )
2025-08-13 15:36:30 +00:00
Jarek Porzucek
6196ae10db
fix(github): Enable pagination when fetching Dependabot alerts ( #37395 )
2025-08-12 13:26:25 +00:00
Liam Lamb
c627e17816
fix(local-scm): Increase default execSync buffer ( #36995 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Anne Stellingwerf <1637358+astellingwerf@users.noreply.github.com >
2025-08-11 09:12:12 +00:00
Raphaël Dehousse
65150cdaf8
docs(bitbucket): add write scope to bot permissions ( #37414 )
2025-08-09 18:41:54 +00:00
Martin Costello
26e465cccc
docs: Delocalize URLs ( #37370 )
2025-08-07 16:17:05 +00:00
Sergei Zharinov
5ca2a1c128
feat: Add gitPrivateKeyPassphrase config option ( #37326 )
2025-08-07 12:49:30 +00:00
matteosilv
5136633811
feat(gitlab): allow overriding token used to set pr as approved ( #36066 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-08-07 12:47:42 +00:00
portly-halicore-76
46f401c7ae
feat(bitbucket-server): Resolves reviewer email-addresses to Users ( #37199 )
...
Signed-off-by: portly-halicore-76 <170707699+portly-halicore-76@users.noreply.github.com >
2025-08-06 10:36:26 +00:00
portly-halicore-76
922d1bae1c
fix(bitbucket-server): Handle invalidReviewers correctly ( #37241 )
...
Signed-off-by: portly-halicore-76 <170707699+portly-halicore-76@users.noreply.github.com >
Co-authored-by: Johannes Feichtner <343448+Churro@users.noreply.github.com >
2025-08-04 15:11:31 +00:00
Simon Hänisch
99af75579d
fix(azure,bitbucket-server): bearer auth for cloning repos sets extra header correctly ( #37235 )
2025-07-31 11:12:03 +00:00
Rhys Arkins
427f78248a
fix(platform/github): reduce max body length to 58k ( #37236 )
2025-07-31 11:08:02 +00:00