elastic-github-actions icon indicating copy to clipboard operation
elastic-github-actions copied to clipboard

Referencing the action starts an elastic container build step even if the action itself is skipped

Open porgabi opened this issue 7 months ago • 0 comments

The Elasticsearch action is conditionally called in a workflow, but even when it's not run, the container build step still runs. Here's an example for such a build: image

The Elasticsearch action is referenced in the action.yml file found in this pull request, which is conditionally called in the build-and-test-orchard-core.yml file.

Is this normal behavior, or can it be prevented somehow? The container build step shouldn't run when the Elasticsearch setup step doesn't.

porgabi avatar Jul 26 '24 18:07 porgabi