Skip to content

fix: harden auto-merge workflows#186

Merged
utkarsh232005 merged 1 commit into
KDM-cli:mainfrom
utkarsh232005:fix/harden-automerge-workflows
Jun 30, 2026
Merged

fix: harden auto-merge workflows#186
utkarsh232005 merged 1 commit into
KDM-cli:mainfrom
utkarsh232005:fix/harden-automerge-workflows

Conversation

@utkarsh232005

@utkarsh232005 utkarsh232005 commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Pass the pull request number explicitly to the Dependabot auto-merge action
  • Avoid failing the approval auto-merge workflow when required checks are still pending

Why

The Dependabot auto-merge workflow was running after rebases, but the action invoked an empty PR argument because pull-request-number was not set. That made every run fail even though the workflow was triggered correctly.

The approval auto-merge workflow can also fire before required checks complete, which produced red runs for a normal pending-check state.

Validation

  • Verified pull-request-number is required in peter-evans/enable-pull-request-automerge action metadata
  • Ran git diff --check

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No application code in the PR — skipped Code Health checks.

See analysis details in CodeScene

Quality Gate Profile: The Bare Minimum
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@utkarsh232005 utkarsh232005 merged commit 900392a into KDM-cli:main Jun 30, 2026
8 of 9 checks passed
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@utkarsh232005, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 84cc4b49-4fc7-422b-9272-515929e59532

📥 Commits

Reviewing files that changed from the base of the PR and between f1777e4 and a323ce5.

📒 Files selected for processing (2)
  • .github/workflows/auto-merge-dependabot.yml
  • .github/workflows/auto-merge.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant