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
Currently 2 workflows are happening in parallel on merge to main:
tests
release
which doesn't make much sense as release should depend on tests to be cancelled if ones fail. There are ways to do it a more logical fashion. Some of them are:
protect master and run test only on feature branches. So that in master it only releases. This one has an issue that tests wouldn't run if a hot-fix is required directly in main
run release when tests are green. this one is more safe but would double run tests for the same commit if merge is done with a rebase.
It looks like option 2 would be more consistent though.
Some optimisation can be done there by finding/creating a custom action to skip tests if those are already run against head_commit.
Tasks:
Make sure release does depend on tests
Skip running tests if already done for current head_commit
The text was updated successfully, but these errors were encountered:
Currently 2 workflows are happening in parallel on merge to
main
:which doesn't make much sense as release should depend on tests to be cancelled if ones fail. There are ways to do it a more logical fashion. Some of them are:
main
It looks like option 2 would be more consistent though.
Some optimisation can be done there by finding/creating a custom action to skip tests if those are already run against
head_commit
.Tasks:
head_commit
The text was updated successfully, but these errors were encountered: