feat(bitbucket): support glob patterns in repository exclusions#620
Hidden character warning
Conversation
Update Bitbucket Cloud and Server exclusion logic to support glob patterns (e.g., "org/repo*") in the exclude.repos configuration, matching the documented behavior and aligning with other providers (GitHub, GitLab, Gitea, Azure DevOps). Changes: - Add micromatch import for pattern matching - Replace Array.includes() with micromatch.isMatch() in cloudShouldExcludeRepo and serverShouldExcludeRepo functions - Add reason logging for exclusion decisions to match GitHub's pattern This enables users to exclude repositories using wildcard patterns as documented in the Bitbucket Cloud connection documentation.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
brendan-kellam
left a comment
There was a problem hiding this comment.
lgtm thanks for catching this!
Update Bitbucket Cloud and Server exclusion logic to support glob patterns (e.g., "org/repo*") in the exclude.repos configuration, matching the documented behavior and aligning with other providers (GitHub, GitLab, Gitea, Azure DevOps).
Changes:
This enables users to exclude repositories using wildcard patterns as documented in the Bitbucket Cloud connection documentation.