mage-os / terraform

Terraform files for managing the organization repository permissions.
4 stars 8 forks source link

Mirrors need to allow force pushes #38

Closed Vinai closed 1 year ago

Vinai commented 1 year ago

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.

https://github.com/mage-os/terraform/blob/main/main.tf#L88-L89