A while ago we introduced trigger conditions letting you run actions only if there were changes in the repository. Now we're adding another use case: running actions on certain values to environment variables. The feature is available in More options at the bottom of every action.
Example use case
Let's assume we have a wildcard pipeline that runs unit tests on all branches:
However, integration tests are run only for the staging branch. This is because we applied a specific condition in the action settings:
This way you gain more control over your workflow allowing you to easily adapt it to current conditions.
Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know on the livechat or directly at email@example.com.