You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:warning: This plugin may accept configurations that are not valid pipeline steps, this is a known issue to keep its code simple and flexible.
75
76
76
77
```yaml
77
78
steps:
78
79
- label: "Triggering pipelines"
79
80
plugins:
80
-
- monorepo-diff#v1.4.0:
81
+
- monorepo-diff#v1.5.0:
81
82
watch:
82
83
- path: app/
83
84
config:
@@ -108,7 +109,7 @@ steps:
108
109
steps:
109
110
- label: "Triggering pipelines with plugin"
110
111
plugins:
111
-
- monorepo-diff#v1.4.0:
112
+
- monorepo-diff#v1.5.0:
112
113
watch:
113
114
- path: test/.buildkite/
114
115
config: # Required [trigger step configuration]
@@ -127,6 +128,34 @@ steps:
127
128
- When changes are detected in the path `test/.buildkite/` it triggers the pipeline `test-pipeline`
128
129
- If the changes are made to either `app/` or `app/bin/service/` it triggers the pipeline `data-generator`
129
130
131
+
**Conditional Step Execution (`if`):**
132
+
133
+
The plugin supports conditional execution of pipeline steps using the `if` key, matching Buildkite’s pipeline conditional syntax. The `if` key allows you to control when a step runs, based on branch names, environment variables, build metadata, or custom expressions.
0 commit comments