New ask Hacker News story: Ask HN: How do you promote code through environments in GitHub for GitOps?

Ask HN: How do you promote code through environments in GitHub for GitOps?
2 by pentago | 0 comments on Hacker News.
Currently, when developer push code to dev branch, Github Actions build starts, builds and merge code to staging branch. It also opens PR to merge to main branch. I have ArgoCD which syncs with both those branches and apply to our Kubernetes clusters. While simple and works, it's messy and introduces extra commits. How do you do this or what's the proper way to do this?