A release will be triggered by a github action and not by a PR to reduce risques of using the wrong merge procedure that could result in inconsistency.
New approach:
The release of a new version is triggered via a github action. The action will check if the person is authorized to run the action by checking the authors name against the CODEOWNER file.
We do not have a "4 eyes" check here since all PRs on the default branch have this check so it's not required. This can be realised with the environment feature of github.
This step will reduce the complexity of releasing a new version, the procedure of creating a new version is untouched.
Breaking changes and TODOS after accepting this PR:
main becomes the default branch
next branch get removed, the code for a specific release is reachable via the releases and tags.
A release will be triggered by a github action and not by a PR to reduce risques of using the wrong merge procedure that could result in inconsistency.
New approach:
The release of a new version is triggered via a github action. The action will check if the person is authorized to run the action by checking the authors name against the
CODEOWNER
file. We do not have a "4 eyes" check here since all PRs on the default branch have this check so it's not required. This can be realised with the environment feature of github.This step will reduce the complexity of releasing a new version, the procedure of creating a new version is untouched.
Breaking changes and TODOS after accepting this PR: