Skip to content

Dry-run Renovate on pull requests, keep dots out of branch names, bump OctoVersion - #66

Merged
matt-richardson merged 1 commit into
mainfrom
mattr/dpt-3109-dry-run-renovate
Aug 11, 2026
Merged

Dry-run Renovate on pull requests, keep dots out of branch names, bump OctoVersion#66
matt-richardson merged 1 commit into
mainfrom
mattr/dpt-3109-dry-run-renovate

Conversation

@matt-richardson

Copy link
Copy Markdown
Contributor

Our renovate.yaml runs on pull_request when the Renovate config changes, and reads that config from the PR branch while still pointing at the real repository with a real token. An unmerged config is applied for real rather than validated. On Slipway this silently autoclosed two dependency PRs, and with prConcurrentLimit at 1 holding the slot, one update was left with no open PR at all.

RENOVATE_DRY_RUN is set only for pull_request runs. Renovate's env parser skips empty values, so scheduled and push runs keep writing as before, and dryRun: full still runs the whole extract-and-lookup pipeline, so a broken config still surfaces on the PR.

branchNameStrict keeps dots out of Renovate's branch names. OctoVersion truncates the branch-derived NuGet pre-release tag to 20 characters without regard for SemVer identifier boundaries; when the cut lands on a dot, the version ends in an empty identifier and dotnet pack rejects it.

The pinned Octopus.OctoVersion.Tool predates the fix for that truncation (OctoVersion#331) and moves to 1.1.48, which ships net8.0, net9.0 and net10.0 tool assets.

Both changes land together on purpose. branchNameStrict alone would have this PR's own Renovate run rename branches against the live repository, which is the exact failure this is meant to prevent.

Linear: DPT-3109, DPT-3106

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@matt-richardson
matt-richardson requested a review from a team as a code owner August 11, 2026 01:06
@matt-richardson
matt-richardson enabled auto-merge (squash) August 11, 2026 01:31
@matt-richardson
matt-richardson merged commit 879cc7d into main Aug 11, 2026
4 checks passed
@matt-richardson
matt-richardson deleted the mattr/dpt-3109-dry-run-renovate branch August 11, 2026 01:36
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.

2 participants