Support parenthetical expressions in `rules:if`
Problem to solve
The if
syntax within rules is nice, but a lack of parentheses makes complex expressions impossible to write.
Intended users
User experience goal
Proposal
Add support for () in expressions to allow for more complex evaluation. Example:
rules:
- if: ($CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "develop") && $MY_VARIABLE
Further details
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
Edited by Jason Yavorska