Skip to content

feat: add allowed_branches config option - #255

Merged
mbarkhau merged 7 commits into
mbarkhau:masterfrom
SAY-5:feat/allowed-branches
May 22, 2026
Merged

feat: add allowed_branches config option#255
mbarkhau merged 7 commits into
mbarkhau:masterfrom
SAY-5:feat/allowed-branches

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 19, 2026

Copy link
Copy Markdown
Contributor

Closes #198. Adds an allowed_branches config option that refuses to release if the current branch does not match any pattern. Implements exactly the syntax @mbarkhau proposed: "I would accept a PR for this. Preferably using comma separation and glob syntax. allowed_branches = \"master,main,release-*\"". Default (empty) preserves existing behavior.

@mbarkhau
mbarkhau merged commit 595f746 into mbarkhau:master May 22, 2026
2 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.

Feature request: allow making releases from certain branches only.

2 participants