Mods

Policy: GitHub > Repository > Default Branch > Name

Define the GitHub repository default branch name.

Note: The branch name must be a valid branch name in the repository.

Targets

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Setting this policy configures this control:

Policy Packs

This policy setting is used by the following policy packs:

Policy Specification

Schema Type
string
Default
main
Examples [YAML]
main

Category

In Your Workspace

Developers