Stopping direct pushes to main
Developers sometimes push straight to main, skipping review and CI. What is the standard way to stop this on GitHub or GitLab?
Discussion 0
Join free to post in the discussion.
Related questions
- CI vs Continuous DeliveryDevOps Engineer
- Undoing a commit already pushed to mainDevOps Engineer
- What set -euo pipefail doesDevOps Engineer
- Rebase vs mergeDevOps Engineer
- Trunk-based developmentDevOps Engineer
- Where GitHub Actions workflows liveDevOps Engineer
- GitLab CI stagesDevOps Engineer
- Why keep a Jenkinsfile in the repoDevOps Engineer