Skip to content

Example of expression with conditional logic accidentally removed? #40423

@Scotchester

Description

@Scotchester

Code of Conduct

What article on docs.github.com is affected?

Evaluate expressions in workflows and actions

What part(s) of the article would you like to see updated?

In the course of reviewing and merging PR #38230, I believe a bit more was removed than intended by the reviewer. There was an example that already existed prior to the PR which I found very helpful, and my interpretation of the reviewer's comments was that they only felt that the new example (or extended explanation, really) added in the PR's first commit (0fe93b4) was unnecessary.

I would like to suggest the restoration of the original example.

Additional information

I will submit a PR for this momentarily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions