This is what have in out mind as a function of our branches
dev - default branch.
All developers should create branches from this branch and commit to this branch only. If a commit is done on other branches without it being passed on dev, it will rejected without any considerations.
All static code analyzers should pass on dev for it to be a valid pull request
dev will always has latest code no matter what
qa - branch for testing
Application testing
ci/cd testing and/or changes in its config
if anything fails here, code will not be pushed to master
master - branch for production deployment
This will have actual ci/cd pipeline. Code will go to aws directly once a pull request is done.
Ideally, everything works here and no testing is required.
This is what have in out mind as a function of our branches
dev - default branch.
qa - branch for testing
master - branch for production deployment