diff --git a/.github/workflows/samples-elm.yaml b/.github/workflows/samples-elm.yaml index a9dad78925a6..b494ffaf4b09 100644 --- a/.github/workflows/samples-elm.yaml +++ b/.github/workflows/samples-elm.yaml @@ -3,10 +3,12 @@ name: Samples Elm on: push: paths: + - .github/workflows/samples-elm.yaml - samples/client/petstore/elm/** - samples/openapi3/client/elm/** pull_request: paths: + - .github/workflows/samples-elm.yaml - samples/client/petstore/elm/** - samples/openapi3/client/elm/** jobs: @@ -32,4 +34,4 @@ jobs: # An .elm file couldn't be compiled # No .elm files were found # No elm.json file could be found in the root of the working directory - run: elm make $(find . -name *.elm) --output=/dev/null + run: elm make $(find . -name "*.elm") --output=/dev/null