Commit graph

251 commits

Author SHA1 Message Date
Adam Setch
2ccf030e6a
refactor(bitbucket): use paginated api for getRepos (#22275) 2023-05-21 08:08:48 +00:00
MShekow
ec0bddde21
docs: mention tooling to retrieve installation token for GitHub platform (#22316)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-05-21 06:00:52 +00:00
Adam Setch
06f71346cd
feat(bitbucket): add support for pagelen (#22278) 2023-05-20 05:43:00 +00:00
Sergei Zharinov
8cdd1a20f4
refactor(http): Rename useCache option to memCache (#22300) 2023-05-18 14:33:11 +00:00
fredrondina
dc077f3f6f
fix(gitlab): ignoreApprovals add check for existingAnyApproverRule (#22237) 2023-05-16 12:54:09 +00:00
Sebastian Krebs
fc73b078dc
feat: commitMessageLowerCase (#20930)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-05-13 18:12:36 +00:00
Adam Setch
0e27bd18cf
feat(bitbucket): use paginated effective default reviewers response (#22164) 2023-05-13 12:19:24 +00:00
Rhys Arkins
b02856b1fc
fix: massage rebase check PR comment (#22079) 2023-05-12 06:18:49 +00:00
horihel
08233ff705
feat(platform/azure): Recreate Auto-Approve on PR-Update (#22028)
Signed-off-by: Heiko Helmle <heiko.helmle@horiba.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-05-11 05:15:33 +00:00
HonkingGoose
bf2f9db59d
docs: rewrite local platform (#22067) 2023-05-10 09:28:57 +00:00
Marcus Crane
06b8dcdca1
feat(platform/github): Skip archived repos at earliest point when retrieving repo listings (#22057) 2023-05-10 05:39:20 +00:00
Rhys Arkins
32cb5e1ad7
docs: local platform 2023-05-10 07:35:18 +02:00
Rhys Arkins
93052ec917
feat: platform=local (#22010)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-05-10 04:30:12 +00:00
Malte Hviid-Magnussen
347c2d02d7
docs(gitlab): add hostType to registry hostRules guide (#22055) 2023-05-09 09:47:31 +00:00
Rhys Arkins
9276a54069
refactor(scm): use scm for getFileList, checkoutBranch (#22006) 2023-05-07 04:12:15 +00:00
RahulGautamSingh
3b82013ad2
feat: save targetBranch in prBody (#21724) 2023-04-29 13:01:51 +00:00
Rhys Arkins
91cbe5bdcc
fix(github): try automerge PR even if approving reviews required (#21883) 2023-04-29 08:55:52 +00:00
peters5
86b028f947
fix(platform/azure): call getPolicyConfigurations() with correct parameter order (#21854) 2023-04-28 05:02:53 +00:00
RahulGautamSingh
938a36801e
refactor: replace test.each with it.each (#21859) 2023-04-28 04:33:15 +00:00
Rhys Arkins
de3cb95e91
fix(github): log res if no repository returned 2023-04-27 17:03:06 +02:00
Jamie Magee
a6dfa70c1d
chore: migrate to structuredClone (#20885)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-27 05:06:22 +00:00
Noam Dolovich
8d8c3d11fd
fix(platform/azure): improve getPolicyConfigurations latency via mergePolicyGuid filter (#21723) 2023-04-23 06:27:59 +00:00
Sergei Zharinov
1adc0777da
fix(platform/github): Fix branch recreation for existing branches (#21629) 2023-04-20 17:51:00 +00:00
Sergei Zharinov
66d1ae94d3
refactor(git): Rename fetchCommit to fetchBranch (#21581) 2023-04-18 19:30:05 +00:00
Michael Kriese
bce88c862e
feat(config): rename azureAutoApprove to autoApprove (#21576) 2023-04-18 09:09:46 +00:00
renovate[bot]
07930b1393
build(deps): update aws-sdk-js-v3 monorepo (#21549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-04-17 13:52:42 +00:00
Rhys Arkins
5fb1747361
fix: Revert "feat: compare all branch authors when deciding if a branch is modified" (#21505) 2023-04-14 06:20:34 +00:00
Alex Kessock
8b0acd4108
feat: compare all branch authors when deciding if a branch is modified (#20739) 2023-04-13 15:19:13 +00:00
Michael Kriese
c79b209032
refactor(platform): optional getVulnerabilityAlerts (#21449) 2023-04-12 15:12:15 +00:00
renovate[bot]
da29ed179c
chore(deps): update dependency @types/luxon to v3.3.0 (#21418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
Philip
80c3725356
fix(platform/bitbucket): remove interactive text in issue should be read only (#21409) 2023-04-10 13:23:22 +00:00
Adam Setch
6f6307a008
refactor(platform): add id for each platform (#21405) 2023-04-10 04:30:40 +00:00
Sergei Zharinov
8081d08ec4
refactor(http): Enhanced integration with data schemas (#21338) 2023-04-06 15:56:27 +00:00
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
RahulGautamSingh
1013302e0f
refactor: exactOptionalPropertyTypes (#20761)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-19 16:09:46 +00:00
RahulGautamSingh
33cd2331e7
fix(platform/github): detect pr-edited if target changed (#21026)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-19 16:08:41 +00:00
Adam Setch
e29c8ad964
fix(bitbucket): use correct case (#21002) 2023-03-17 12:13:37 +00:00
Michael Kriese
79cfad9324
docs(platform/bitbucket-server): add Data Center (#20980) 2023-03-16 10:09:27 +00:00
Michael Kriese
1a8088c4d6
fix: Revert "fix: Add support for PAT in Bitbucket Server. Closes #14900" (#20979) 2023-03-16 09:52:02 +00:00
​Faizaan
d739141f7d
fix: Add support for PAT in Bitbucket Server. Closes #14900 (#20974) 2023-03-16 05:50:08 +00:00
Michael Kriese
1789d349bb
fix(platform/bitbucket): use uuid instead of username for issues filter (#20960) 2023-03-15 16:41:26 +00:00
Adam Setch
98be25f787
feat(platform/bitbucket): add support for Bitbucket development branching model (#20860)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-12 12:50:54 +00:00
Adam Setch
06feaaabaf
docs(platform/bitbucket): update requiring implementation section (#20863) 2023-03-11 12:50:32 +00:00
Adam Setch
d760c2f4cb
docs(platform/bitbucket): update header to be consistent with other platforms (#20870) 2023-03-11 10:28:26 +00:00
Rhys Arkins
a4ab4523f8
feat(config)!: forkProcessing (#20759)
Removes "includeForks" option and replaces with "forkProcessing". New default behavior is to process forks if automerge=false.

Closes #20752

BREAKING CHANGE: Forked repos will now be processed automatically if autodiscover=false. includeForks is removed and replaced by new option forkProcessing.
2023-03-10 09:34:41 +01: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
Rhys Arkins
a75f9d71c1
feat(config)!: non-zero defaults for PR concurrent, hourly limits (#19958)
Sets new defaults:
- `prConcurrentLimit`: 10 (instead of 0)
- `prHourlyLimit`: 2 (instead of 0)

Closes #19800

BREAKING CHANGE: Renovate now defaults to applying hourly and concurrent PR limits. To revert to unlimited, configure them back to `0`.
2023-03-10 09:25:51 +01:00
Philip
6e0ef61d98
docs(platform/codecommit): add aws codebuild examples (#19374)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-03-08 07:08:58 +00:00
HonkingGoose
5249759b39
docs(config options): PAT triage rights to apply labels forking renovate (#20684) 2023-03-03 07:04:08 +01:00
RahulGautamSingh
acc6c59138
test: replace as assertions (#20527)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-25 18:56:23 +00:00
RahulGautamSingh
352c9db904
test: add new wrapper for partial (#20618) 2023-02-25 06:46:32 +00:00
Adam Setch
18bdac9d35
fix(platform/bitbucket): remove blockquote markdown from bitbucket issue description (#20588) 2023-02-23 07:01:44 +01:00
Rhys Arkins
109f3491ab
refactor: getBranchStatus and tests (#20585) 2023-02-22 17:53:35 +00:00
Adam Setch
5cc4260ba7
feat(platform/bitbucket): consolidate types (#20570) 2023-02-22 17:01:03 +00:00
Adam Setch
77b2189603
fix: remove rebase-all-open-prs checkbox from read only issue bodies (#20578) 2023-02-22 15:28:30 +00: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
Markus Schulz
dd6c8e5147
feat: Move some Git commands behind a PlatformScm interface (#19327)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 08:18:53 +00:00
Adam Setch
215ea10bc0
docs(platform/bitbucket): update to-be implemented features (#20480) 2023-02-18 04:58:44 +01:00
Adam Setch
80934e65f5
fix(platform/bitbucket): update rebase instructions (#20482) 2023-02-17 23:27:27 +00:00
Adam Setch
013b705f43
feat: bitbucket sanitize reviewers (#20445) 2023-02-16 06:36:28 +00:00
Kyle Welch
a49c994ca6
feat(platform/bitbucket): Add ability to use UUID for reviewers (#20382)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-15 16:25:11 +00:00
RahulGautamSingh
9c0e1389d0
refactor: remove displayNumber (#20410) 2023-02-15 07:18:48 +00:00
Rostislav Simonik
05517e6d8a
feat: add ignoreReviewers config option (#19776) 2023-02-11 07:24:02 +00:00
RahulGautamSingh
7ff4b53439
test: replace as with partial (#20252)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-07 11:38:59 +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
Michael Kriese
08c333ac7d
feat(platform): support forgejo (#19939)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-25 08:28:57 +01:00
Michael Kriese
9bd857c8f8
fix(platform): fix types and docs (#19944)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-24 10:05:51 +01:00
renovate[bot]
70fd8db1ae
chore(deps): update linters (#19751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-18 12:42:32 +00:00
Nicholas Firth-McCoy
218ac84206
fix(platform/gitlab): Strip unicode null characters from markdown (#19664)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-11 13:14:44 +00:00
Justinas
325cb70ff2
fix(platform/gitlab): resolve assignees/reviewers from groups (#19469) 2023-01-04 09:53:17 +01:00
Tobias
3ec3c1e19d
test(platform): add test that hostRules are passed through initPlatform() (#19491) 2022-12-20 13:24:19 +00: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
Philip
18a3154ff0
fix(platform/codecommit):AWS codecommit ensure comment exception fix (#19420)
Closes https://github.com/renovatebot/renovate/issues/19293
2022-12-16 09:57:18 +00:00
Jean-Marc Le Roux
654236de24
docs: document GitLab container registry usage (#19321) 2022-12-09 19:02:20 +00:00
Michael Kriese
b02dd61e11
docs(gitlab): mention rights for autodiscover (#19320) 2022-12-09 12:53:42 +01:00
Jamie Tanna
34df4ff642
docs: correct documentation for API calls to /users/ endpoint (#19308) 2022-12-08 11:37:50 +01:00
Philip
4caeceb3b4
feat(codecommit): support IAM Roles and Least Privilege (#19223)
Closes https://github.com/renovatebot/renovate/issues/19091
Closes https://github.com/renovatebot/renovate/issues/19092
Closes https://github.com/renovatebot/renovate/issues/19093
2022-12-06 06:54:07 +00:00
Philip
4f71562e56
fix(github): don't match org name with underscore (#19071) 2022-11-28 09:33:49 +00:00
Rhys Arkins
9419d21435
fix(release-notes): massage repos with dots (#19070) 2022-11-24 14:27:23 +01: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
Jamie Magee
92eb2200fd
refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08: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
Michael Kriese
0936ac67f6
feat(platform/gitea): configurable autodiscover repo sorting (#18636)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-11-01 10:12:33 +00:00
Rhys Arkins
0e9da7b441
chore: trace http logs (#18652) 2022-10-29 06:15:21 +00:00
HonkingGoose
aa4e1372de
docs(AWS CodeCommit): improve docs (#18555) 2022-10-26 05:47:05 +02:00
Philip
7b0f6ee5b2
fix: Code commit documentations (#18551) 2022-10-25 20:23:22 +02:00
Sergei Zharinov
b2d18d1110
feat(http): maxRequestsPerSecond (#18325) 2022-10-25 11:03:19 +00:00
Philip
4c528e1a28
feat(platform/codecommit): add token support in config_js and update docs (#18496) 2022-10-24 07:42:06 +00:00
Philip
80af0fdf76 feat: Support AWS Code Commit platform (#17076) 2022-10-23 06:48:35 +02: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
Daniel Petró
54075b2943
feat(azure): be able to define a required reviewer for PRs (#18111) 2022-10-10 05:40:41 +00:00