![New trigger condition: ENV VAR Value](/_next/image?url=%2Fblog%2Fthumbnails%2Fenvar-trigger-cover.png&w=1920&q=75)
July 23, 2018
New trigger condition: ENV VAR Value
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:
Buddy pipeline
However, integration tests are run only for the staging branch. This is because we applied a specific condition in the action settings:
Setting a trigger condition
This way you gain more control over your workflow allowing you to easily adapt it to current conditions.
What’s Next?
Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know on the livechat or directly at support@buddy.works.
Share:
![Alexander Kus](/_next/image?url=%2Fassets%2Fimages%2Fbuddyface%2Faleksander-kus.png&w=128&q=75)
Alexander Kus
Customer Success Manager