Skip to main content

Policies

Regov applies policies to govern the behavior of all repositories within a group.

Settings

The synchronization of Regov's settings with GitHub for a group of repositories is managed through the group settings within the Regov management portal. These settings align directly with the relevant configurations in GitHub, creating a one-to-one mapping. To specify the desired settings for both existing and future repositories, assign a value to the corresponding Policy flag.

Once you have defined the desired settings, you can enable the Policy Enforced flag for each setting. This ensures that the changes are reflected in GitHub when you save the modifications. It is worth noting that the manual enforcement of policies allows teams to customize settings managed by Regov. It also accommodates scenarios where specific repositories within the same group may require customized configurations directly within GitHub.

note

Please be aware that setting a Policy alone does not automatically enforce it for a particular setting. Make sure to enable enforcement to apply the desired changes.