/
Enable YACC for certain branches
Enable YACC for certain branches
Sometimes it is useful to turn on checks only for certain branches and turn them off on all other branches.
YACC has the Exclude Branch Regex feature to specify a regex that can exclude branches from checks. With a little bit of regex magic, this feature can be used to only run YACC on a set of allowlisted branches.
For example, to perform checks on the branches master
and release
, but no other branch, configure the Exclude Branch Regex option like this:^(?!master$|release$).*
All branch names other than master
and release
are excluded, and the checks only apply to those two branches.
, multiple selections available,
Related content
Configure and manage YACC settings for a large number of repositories
Configure and manage YACC settings for a large number of repositories
Read with this
Opt out a repository from YACC when global settings are configured
Opt out a repository from YACC when global settings are configured
Read with this
Manage Yet Another Commit Checker
Manage Yet Another Commit Checker
Read with this
Configuration overview
Configuration overview
Read with this
Differences between the Pre-receive Hook and Merge Check
Differences between the Pre-receive Hook and Merge Check
Read with this