Git branch checks Package

Check that the build has an expected target git branch. The specific branches permitted are specified as a list of regexes in the allowed_target_branch_patterns rule data.

Package Name

  • git_branch

Rules Included

Builds have a trusted target branch

Build must target a configured branch pattern (e.g., 'c10s')

  • Rule type: FAILURE

  • FAILURE message: Build target is %s which is not a trusted target branch

  • Code: git_branch.git_branch

  • Effective from: 2025-07-01T00:00:00Z

  • Source