Skip to content

ci: fix Dependabot automerge race when PR is behind main#25

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-4616
Draft

ci: fix Dependabot automerge race when PR is behind main#25
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-4616

Conversation

@cursor

@cursor cursor Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the automerge workflow failure when Dependabot PRs are behind main or required status checks have not yet propagated to the PR after CI completes.

Changed files

  • .github/workflows/dependabot-automerge.yml

Testing performed

  • cargo test --workspace
  • Manual run on macOS / Apple Silicon (Dry mode first)

Safety notes

CI workflow only; no application behavior changes.

Screenshots

N/A — workflow change only.

Open in Web View Automation 

Wait for mergeStateStatus CLEAN before merging, update branches that
fell behind main, and skip stale SHAs so automerge does not fail when
another PR lands during CI.

Co-authored-by: ringlet_fires5b <ringlet_fires5b@icloud.com>
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