Skip to content

ci: add guard workflow — only develop can merge to main#80

Merged
vikramgorla merged 2 commits intodevelopfrom
fix/guard-main-branch
Mar 8, 2026
Merged

ci: add guard workflow — only develop can merge to main#80
vikramgorla merged 2 commits intodevelopfrom
fix/guard-main-branch

Conversation

@vikramgorla
Copy link
Copy Markdown
Owner

Adds a GitHub Actions workflow that runs on PRs to main and rejects any PR not from develop.

This enforces our branch model: all changes go through develop first.

Once merged to develop and then to main, add Verify PR source is develop to the required status checks on main branch protection.

release: v0.5.1 — fix dev version on main + workflow_dispatch
Adds a required status check that rejects PRs targeting main unless
they come from the develop branch. Prevents accidental feature→main
merges that bypass the develop→main flow.
@vikramgorla vikramgorla merged commit f28441a into develop Mar 8, 2026
11 of 12 checks passed
@vikramgorla vikramgorla deleted the fix/guard-main-branch branch March 8, 2026 18:46
agent-heidi bot added a commit that referenced this pull request Mar 15, 2026
ci: add guard workflow — only develop can merge to main
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