Skip to content

chore(next): promote fixes to main#179

Merged
ss-o merged 2 commits into
mainfrom
next
Jul 24, 2026
Merged

chore(next): promote fixes to main#179
ss-o merged 2 commits into
mainfrom
next

Conversation

@ss-o

@ss-o ss-o commented Jul 24, 2026

Copy link
Copy Markdown
Member

Promotes next to main: PR #176's fix (already fast-forwarded from main to next earlier) plus #178 (renovate.json baseBranches, main-branch-guard workflow).

ss-o and others added 2 commits July 24, 2026 09:09
Same root cause found and fixed in z-shell/zsh-eza this session:
renovate.json had no baseBranches override, so Renovate defaulted to
main, bypassing next the same way several past PRs (#171, #150-156)
did. dependabot.yml was already fixed for this in #172; this brings
Renovate in line with it and ADR-0008 (z-shell/.github).

Also adds a required-status-check workflow that fails a PR targeting
main unless its head branch is next or matches hotfix-*.

Closes #177
chore: point renovate.json at next, add main-branch guard
Copilot AI review requested due to automatic review settings July 24, 2026 08:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Promotes operational/configuration fixes from next into main by aligning Renovate’s targeting behavior with the repo’s branching model and adding a CI guard to prevent unintended PRs into main.

Changes:

  • Configure Renovate to open update PRs against next via baseBranches.
  • Add a GitHub Actions workflow that fails PRs targeting main unless they come from next or hotfix-*.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
renovate.json Directs Renovate to use next as the base branch for update PRs.
.github/workflows/main-branch-guard.yml Adds a PR-targeting guard workflow to enforce the next/hotfix-* source-branch policy for PRs into main.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ss-o
ss-o merged commit 5e301f2 into main Jul 24, 2026
5 checks passed
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