Name of variable
- Assign a name to the ref variable
Expression
- Specify a regular expression to capture
now your variable ref = refs/heads/main
Expression (at the end)
- Specify a regular expression for the branches for which you want to run jobs.
Text
- Compare the regular expression (allowed branches) with what is in your ref variable
Top right is a quote from the documentation. It provides an example for the develop branch and multiple feature branches.
