Skip to content

ci(renovate): switch github-actions automerge from branch to pr#346

Closed
l50 wants to merge 1 commit into
dreadnode:mainfrom
l50:fix/renovate-automerge-via-platform-pr
Closed

ci(renovate): switch github-actions automerge from branch to pr#346
l50 wants to merge 1 commit into
dreadnode:mainfrom
l50:fix/renovate-automerge-via-platform-pr

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented May 24, 2026

Summary

Renovate's automergeType: 'branch' strategy bypasses GitHub's platform auto-merge, so digest/version-bump PRs only get merged during a Renovate run (cron: Sun/Wed 00:00 UTC). When CI finishes after Renovate exits, the PR sits green for days until the next run.

Switching to automergeType: 'pr' lets the global platformAutomerge: true setting take effect — GitHub turns auto-merge on at PR creation and merges as soon as checks go green, independent of Renovate's cron.

Changes

  • Removed :automergeBranch preset from extends (was forcing automergeType: 'branch' globally).
  • Changed the GitHub Actions packageRule from automergeType: 'branch''pr'.

Test plan

  • Wait for next renovate cron run (or manually gh workflow run renovate.yaml)
  • Confirm new GitHub Actions PRs are opened with auto-merge enabled (visible in PR sidebar)
  • Confirm they merge automatically once checks pass without waiting for next Renovate run

**Changed:**

- Renovate automerge behavior now uses pull requests instead of direct branch automerge, keeping dependency updates visible before merge

**Removed:**

- Branch automerge preset from Renovate configuration to avoid conflicting with PR-based automerge
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added the area/github Changes made to GitHub Actions workflows label May 24, 2026
@l50 l50 closed this May 24, 2026
@l50 l50 deleted the fix/renovate-automerge-via-platform-pr branch May 24, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made to GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant