Skip to content
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

Just always have the parenthesized note on the step name #10

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

EliahKagan
Copy link
Owner

The complex logic in the interpolated name was very bad, both in terms of the workflow's clarity and maintainability, and in that it used the brittle fake ternary conditional a && b || c. I had only introduced that a stopgap while trying to figure out a better way to express it. I didn't, and it's better not to have the feature that only provides the parenthesized note when needed, than to have it but write it this way.

This would also have the benefit of stopping using the
"a && b || c" fake ternary conditional, which is brittle.

The issue here is that I don't know what variables I can define
that I can interpolate into a *step name*. But using a CI matrix
variable, as here, does not seem to be workable.
The complex logic in the interpolated name was very bad, both in
terms of the workflow's clarity and maintainability, and in that it
used the brittle fake ternary conditional a && b || c. I had only
introduced that a stopgap while trying to figure out a better way
to express it. I didn't, and it's better not to have the feature
that only provides the parenthesized note when needed, than to have
it but write it this way.
@EliahKagan EliahKagan merged commit ef29ddd into main Dec 5, 2023
13 checks passed
@EliahKagan EliahKagan deleted the dispatch-redux branch December 5, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant