When you create github actions that auto deploy new features and you have an approval required attached to a branch, and this approval takes some time. when you have a feature that’s waiting for it’s approval and meanwhile another feature action job gets started. How does github or how can i prevent missing features or non approved features from being deployed?
I’ve not tested any of this yet, since our organisation does not have the highest payment plan, but when thinking about it i’m concerned about these points:
When a PR is merged and the feature gets deployed and it’s approven and there are other features approven earlier but those features are merged later, does the later approved feature remove the earlier deployed feature while deploying? (because the later approved feature’s branch doesnt contain the other feature)
I think i’m missing something but i’m not getting how it’s safe to wait for deployments since the branch could be ahead or behind when deploying something “old”