Skip to content

chore(deps): automerge lock file maintenance once checks pass - #387

Merged
CameronBrooks11 merged 1 commit into
mainfrom
chore/automerge-lock-maintenance
Oct 14, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
chore/automerge-lock-maintenance

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

Dependency Audit failed 13 of the 30 weekly scheduled runs before #380. Each time the fix was already sitting in Renovate's lock file maintenance PR, and the audit stayed red until someone merged it. This lets Renovate merge that PR on its own.

"lockFileMaintenance": {
  "automerge": true,
  "platformAutomerge": false
}
  • Scope: fiberpath only, not the org preset. The other repos extending github>fiberpath/renovate-config have no lockfile for lock file maintenance to refresh: filament-winder, .github and renovate-config track none, and fiberpath.github.io has only requirements.txt. The preset's enabled and before 6am on monday schedule still apply.
  • When it merges: with ignoreTests at its default (false), Renovate merges only after every status check on the branch has passed, including Dependency Audit, GUI Packaging and the macOS/Windows/Linux builds. A failed or cancelled check leaves the PR open for a manual merge, the same as today.
  • platformAutomerge: false: GitHub's native auto-merge would merge once the required checks pass, and main requires only CI Check. Native auto-merge is already off here (allow_auto_merge: false), so Renovate would fall back to merging the PR itself anyway. Setting it explicitly keeps that if the repository setting is turned on later.
  • Commit message: the repo squashes with the PR body as the commit message, so the merge commit is Renovate's lock file maintenance PR body, as it is today.

renovate.json parses (python3 -m json.tool). I didn't run renovate-config-validator; the shape matches Renovate's documented lock file maintenance automerge example.

Renovate merges its lock file maintenance PR itself after every status
check on the branch passes. Native auto-merge stays off for it, since
main requires only CI Check.
@CameronBrooks11
CameronBrooks11 merged commit dee50f5 into main Oct 14, 2026
9 checks passed
@CameronBrooks11
CameronBrooks11 deleted the chore/automerge-lock-maintenance branch October 14, 2026 18:07
@CameronBrooks11

Copy link
Copy Markdown
Member Author

First real run: Monday's lock file maintenance PR should merge itself once every check on it passes, after the 07:00 audit. I didn't run renovate-config-validator on this config, so if it doesn't merge, check the Dependency Dashboard (#160) for a config error.

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