Skip to content

Add reusable action to detect conflicted open PRs#611

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

Add reusable action to detect conflicted open PRs#611
strawgate merged 1 commit intomainfrom
feat/get-prs-with-merge-conflicts-action

Conversation

@strawgate
Copy link
Collaborator

Summary

  • add .github/actions/get-prs-with-merge-conflicts as a composite action
  • include configurable settle delay before detection (settle-seconds, default 60)
  • return prs and count outputs for open non-draft PRs with mergeStateStatus == DIRTY, excluding an opt-out label

Test plan

  • validate action YAML structure and outputs wiring
  • verify no linter errors on new action file

Made with Cursor

Create a composite action that waits for merge state to settle, then returns open non-draft PR numbers whose mergeStateStatus is DIRTY while honoring an opt-out label.

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 1 minutes and 34 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: e7eeeab3-4366-4811-a2e4-aa01fb169b74

📥 Commits

Reviewing files that changed from the base of the PR and between 14c6d71 and 8ffdaf1.

📒 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-action
  • 🛠️ 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 f313bb7 into main Mar 9, 2026
13 of 14 checks passed
@strawgate strawgate deleted the feat/get-prs-with-merge-conflicts-action branch March 9, 2026 02:10
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.

1 participant