I'm currently working on enhancing a Laravel project, which involves three environments: Development, Stage, and Production.
My workflow typically starts with coding locally in the Development environment. Once I'm satisfied with my changes, I create a pull request to merge into the Stage environment. After merging, our QA team tests the changes. If any issues are found, I address them and create a new pull request for the Stage environment, repeating the process until everything is stable.
In addition to this, we have our own packages in Laravel, which I develop separately. I update these packages on the Stage environment as needed.
However, I've noticed that I'm spending a significant amount of time creating pull requests, particularly due to multiple rounds of testing and review. Finally, when the changes are ready, I create a pull request for the Production environment and request a senior colleague to review before merging.
As a developer, I'm seeking a more efficient approach to reduce the time spent on creating pull requests. Can you suggest any fixes or improvements to streamline this workflow?