Closed DaniBodor closed 5 months ago
develop
instead of dev
or development
Update on this issue:
I have an untested draft of the action in e8c4291. The way it is set up for now is that it can be manually triggered (on Actions tab) using a keyword and fails if that keyword is not patch
, minor
, or major
. I genuinely don't know what to expect of how to give this input, as I have never created a manually triggered action with an input before.
However, I am fairly certain that ultimately this action will fail on the step of pushing onto main, as it is branch protected. I haven't found (yet) how to bypass branch protection by a GitHub action. Something like this may work, but seems complex to set up.
Alternatively, rather than a manual trigger on the actions tab, an automatic trigger could be made that recognizes a branch or PR name (e.g. starting with a given keyword/-phrase like release patch
) being merged into main? The manual step would then become to merge such a PR into main. However, bumpversion
could still not be run from inside the action without branch protection override, so this is also still not ideal.
On a side note: I am also looking into how these can be triggered from another branch than the default one (which is why it's still untested). I believe GitHub CLI needs to be installed for this, as mentioned here.
The release process currently works as described in the documentation, but it is somewhat tedious and requires many steps/clicks, etc.
We discussed streamlining this process as follows:
dev
ordevelopment
branch, which will be the standard working branch for creating new features, etcmain
, which needs to be manually changed todev
(reviewers, be aware!)main
.major
,minor
,patch
updates.main
was made (and a python file was changed/added), but it's unclear how the semantic version level would be detected.main
.dev
is merged intomain
, we'd want main to be automatically merged back intodev
.main
that bypassesdev
.We will probably heavily rely on chatgpt to create this action.
@psomhorst , anything to add to this?