Even though mage-os-ci is included in push_restrictions, the bot is not allowed to force push, which is required for the mirror synchronization script.
For this reason we need to keep push_restrictions as they are, but set allows_force_pushes to true.
Even though mage-os-ci is included in
push_restrictions
, the bot is not allowed to force push, which is required for the mirror synchronization script.For this reason we need to keep
push_restrictions
as they are, but setallows_force_pushes
to true.https://github.com/mage-os/terraform/blob/main/main.tf#L88-L89