Closed alsora closed 2 years ago
Signed-off-by: Alberto Soragna alberto.soragna@gmail.com
Private github repositories can't set branch protection rules such as "prohibit pushing without a PR". This concept is implemented using git hooks.
Checked that re-configuration was happening after a change in the git hooks. Checked that direct pushing to main branch is blocked by the hook.
main
Signed-off-by: Alberto Soragna alberto.soragna@gmail.com
Description
Private github repositories can't set branch protection rules such as "prohibit pushing without a PR". This concept is implemented using git hooks.
Tests
Checked that re-configuration was happening after a change in the git hooks. Checked that direct pushing to
main
branch is blocked by the hook.