Skip to content

Conversation

@AlexSim93
Copy link
Owner

@AlexSim93 AlexSim93 commented Nov 30, 2025

Pull Request

Description

This PR introduces filtering functionality for pull requests based on branch names using regular expression patterns. Users can now include or exclude PRs from the analytics report by specifying patterns for both head branches (source) and base branches (target) through four new configuration parameters: FILTER_HEAD_BRANCHES and FILTER_BASE_BRANCHES.

Related Issue(s)

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Other (please specify)

How Has This Been Tested?

Verified filtering logic works correctly for both inclusion and exclusion scenarios

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have added tests to cover my changes.
  • My changes generate no new warnings.
  • I have updated the documentation accordingly.

@coderabbitai
Copy link

coderabbitai bot commented Nov 30, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • master, v*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch issue-74/filter-pr-by-branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AlexSim93 AlexSim93 merged commit 0ba6293 into v4 Dec 2, 2025
2 checks passed
@AlexSim93 AlexSim93 deleted the issue-74/filter-pr-by-branch branch December 2, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants