MediumScenarioGitHub Actions and GitLab CI
A workflow deploys on every push to any branch. How do you restrict it to main with approval?
This answer is part of Pro
66 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat are artifacts in GitLab CI and how do they differ from cache?Next A workflow with secrets fails on pull requests from forks. Why, and what do you do?