Establishing pull request merge conditions
You can require pull requests to pass a set of checks before they can be merged. For example, you can block pull requests that don't pass status checks.
Acerca de ramas protegidas y verificación de estado requerida
Las ramas protegidas garantizan que los colaboradores en un repositorio no puedan realizar cambios irrevocables a las ramas. Las verificaciones de estado requeridas garantizan que todas las pruebas de integración continua (CI) requeridas sean aprobadas antes de que los colaboradores puedan realizar cambios en una rama protegida. Branches within repositories that belong to organizations can be configured so that only certain users or teams can push to the branch.
Configurar ramas protegidas y verificaciones de estado requeridas
You can enable protected branches for limiting branch manipulation, as well as enforce required status checks before a branch is merged in a pull request or before commits on a local branch can be pushed to the protected remote branch.