Skip to content

Add clearer warning on main branch to not use it.#363

Merged
gforcada merged 1 commit intomainfrom
maurits-warn-main-branch
Apr 10, 2026
Merged

Add clearer warning on main branch to not use it.#363
gforcada merged 1 commit intomainfrom
maurits-warn-main-branch

Conversation

@mauritsvanrees
Copy link
Copy Markdown
Member

Add file DO_NOT_USE_THIS_BRANCH.md. And show an error when you call the command:

$ ./venv/bin/config-package foo
ERROR: You should NOT use this main branch.
Have a look at the current default branch in the GitHub UI (at time of writing: 2.x).
If you really want to use the current branch, pass --yes as option.

Note: please double check that this PR targets the main branch. :-D

Add file `DO_NOT_USE_THIS_BRANCH.md`.  And show an error when you call the command:

```
$ ./venv/bin/config-package foo
ERROR: You should NOT use this main branch.
Have a look at the current default branch in the GitHub UI (at time of writing: 2.x).
If you really want to use the current branch, pass --yes as option.
```
@mauritsvanrees mauritsvanrees requested a review from gforcada April 10, 2026 08:58
Copy link
Copy Markdown
Member

@gforcada gforcada left a comment

Choose a reason for hiding this comment

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

Awesome! 🤩

@gforcada gforcada merged commit 9edd67b into main Apr 10, 2026
1 check passed
@gforcada gforcada deleted the maurits-warn-main-branch branch April 10, 2026 16:39
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