Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sometimes , it’s it is useful to turn on checks only for certain branches , and turn it them off on all other branches.

YACC has a related feature, “Exclude Branch Regex”, 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 whitelisted allowlisted branches.

For example, if you want to do perform checks only 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 will be  are excluded, and thus the checks will only apply to those two branches.

...