-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: conditional step execution #3485
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for docs-kargo-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3485 +/- ##
==========================================
+ Coverage 52.27% 52.47% +0.20%
==========================================
Files 290 294 +4
Lines 26330 26696 +366
==========================================
+ Hits 13764 14009 +245
- Misses 11814 11917 +103
- Partials 752 770 +18 ☔ View full report in Codecov by Sentry. |
00ac6e1
to
3a7e773
Compare
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
3a7e773
to
d6f6872
Compare
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
d6f6872
to
63afbf1
Compare
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
// If is an optional expression that, if present, must evaluate to a boolean | ||
// value. If the expression evaluates to false, the step will be skipped. | ||
If string `json:"if,omitempty" protobuf:"bytes,7,opt,name=if"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be worth describing what happens if it doesn't evaluate to a boolean? As a reader who hasn't looked at the code, I might wonder if it's an error or is implicitly false.
LGTM with one minor suggestion about docs. |
Also love how the expression support continues to pay dividends! |
Fixes: #3125