datreeio / action-datree

Github action that runs the Datree CLI
MIT License
24 stars 15 forks source link

Globbing from doc doesn't work - results in 'stat **/*.yaml: no such file or directory' #3

Closed HariSekhon closed 2 years ago

HariSekhon commented 2 years ago

The globbing example in the README section doesn't work:

https://github.com/datreeio/action-datree#examples

      - name: Run Datree Policy Check
        uses: datreeio/action-datree@main
        with:
          path: '**/*.yaml'

results in:

stat **/*.yaml: no such file or directory
HariSekhon commented 2 years ago

I realized this appears to be broken in the CLI tool and not just the action, so have raised:

https://github.com/datreeio/datree/issues/618

hadar-co commented 2 years ago

Thanks, closing this, we'll follow up in the new issue you opened.