You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it make more sense to keep the templates in a magic dir/file, rather than having to have a separate branch for templates? Then branching would work as normal. This technique is quite common and for instance used in the release-drafter action: https://github.com/release-drafter/release-drafter
The text was updated successfully, but these errors were encountered:
Would it be possible to use te release drafter on the templates branch or master with that configuration?
The idea of having templates as an orphan branch is to possess his:
personal timeline: it avoid conflicts when PR are created.
lightweight branch: when contributors are cloning the project, they can clone only the templates branch by running git clone https://github.com/evryfs/notify-slack-action.git -b templates --single-branch. In fact, they won't have to pull the node_modules and source code which can be heavy, but only the templates JSON files with guideline.
In short, this practice looks like having two disctint repository within the same repo. I believe that we can still use the release-drafter by keeping this architecture. At least, release-drafter is a genius idea! :D
Own release page: by having the orphan branch, the masterrelease section will possess only the logic/feature code while the templatesrelease section will only have the new add templates.
If you think about it, you can keep the current release js-v1.0.0 that works fine while the templates branch is evolving. You can have templates release up to v.5.0.0 for instance (ie. +100 templates) while the source code is still at js-v1.0.0 release.
Would it make more sense to keep the templates in a magic dir/file, rather than having to have a separate branch for templates? Then branching would work as normal. This technique is quite common and for instance used in the release-drafter action: https://github.com/release-drafter/release-drafter
The text was updated successfully, but these errors were encountered: