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
At first I felt reusing the if clause for this purpose seemed a bit too magical and preferred this to be in a separate field. From docs:
A default status check of success() is applied unless you include one of these functions
However, after thinking about this more, having it in the if clause has advantages over introducing it into another field because it can be mixed with other checks. e.g.:
Proposed Feature
This is a follow up to #3125.
We added conditionals, but would now like the ability to run steps based on status conditions (e.g. always, or upon failure).
GitHub Actions solves this by re-using their
if
clause with Status Check Functions.Examples:
At first I felt reusing the
if
clause for this purpose seemed a bit too magical and preferred this to be in a separate field. From docs:However, after thinking about this more, having it in the
if
clause has advantages over introducing it into another field because it can be mixed with other checks. e.g.:So I am in favor of GitHub's approach to this.
Motivation
This would be useful in things like notification steps
Suggested Implementation
Introduce status check functions understood in the
if
clause.The text was updated successfully, but these errors were encountered: