GitLab Branch Protection: Lock Down Main and Control Who Can Merge
Step-by-step guide to protecting your main branch in GitLab — allow merges only from staging, restrict who can approve, and enforce merge requests for every change.
8 posts tagged with #gitlab
Step-by-step guide to protecting your main branch in GitLab — allow merges only from staging, restrict who can approve, and enforce merge requests for every change.
Step-by-step guide to setting up GitLab Runner as a Docker container on a dedicated Debian 13 VM. Includes a comparison with bare-metal installation and why containerized runners are the better choice.
Understand why GitLab shows "source branch is X commits behind target branch" and how to fix it. Includes the essential sync-back rule that prevents this issue forever.
Step-by-step guide to implementing Git hooks with Husky in a real Astro blog project. Learn how to set up pre-commit linting, commit message validation, and integrate with GitLab CI/CD.
Complete guide to automating your Astro blog deployment using GitLab CI/CD pipelines - from zero to production with automated builds, tests, and deployments.
A practical guide to optimizing GitLab Runner performance - direct internal connections, Docker executor tuning, caching strategies, and runner configuration.
Configure OPNsense to expose GitLab Container Registry directly while keeping GitLab UI behind Cloudflare Tunnel. Complete guide for self-hosted setups.
Learn how to configure GitLab Container Registry on self-hosted instances, including best practices for Docker image management, CI/CD integration, and troubleshooting common issues like Cloudflare Tunnel configurations.