Skip to content

Add include/exclude label filters to conflicted PR action#612

Merged
strawgate merged 1 commit intomainfrom
feat/get-prs-with-merge-conflicts-label-filters
Mar 9, 2026
Merged

Add include/exclude label filters to conflicted PR action#612
strawgate merged 1 commit intomainfrom
feat/get-prs-with-merge-conflicts-label-filters

Conversation

@strawgate
Copy link
Collaborator

@strawgate strawgate commented Mar 9, 2026

Summary

  • Add include-labels and exclude-labels inputs to .github/actions/get-prs-with-merge-conflicts.
  • Keep opt-out-label as a deprecated, backward-compatible exclusion that is merged into exclude-labels.
  • Preserve existing outputs (prs, count) and conflict detection behavior.
  • Normalize configured labels and PR label names to lowercase, making include/exclude matching case-insensitive.

Test plan

  • Validate action YAML parses and passes lint checks.
  • Verify label normalization and include/exclude filtering logic in the github-script step.

The body of this PR is automatically managed by the Trigger Update PR Body workflow.

Support comma-separated include-labels and exclude-labels (with opt-out-label kept as deprecated compatibility input) so callers can scope or suppress PR selection more flexibly.

Made-with: Cursor
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Warning

Rate limit exceeded

@strawgate has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 51 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 14397add-f45d-48a5-9f31-674226adbf5f

📥 Commits

Reviewing files that changed from the base of the PR and between f313bb7 and 46127f2.

📒 Files selected for processing (1)
  • .github/actions/get-prs-with-merge-conflicts/action.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/get-prs-with-merge-conflicts-label-filters
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

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

@strawgate strawgate merged commit 07738bb into main Mar 9, 2026
16 checks passed
@strawgate strawgate deleted the feat/get-prs-with-merge-conflicts-label-filters branch March 9, 2026 02:14
@github-actions github-actions bot added the medium_boom Medium PR blast radius; likely benefits from human review label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

medium_boom Medium PR blast radius; likely benefits from human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant