Closed Dentrax closed 2 years ago
Hi @Dentrax
This gets really complex with authentication, so I would prefer not to support a collection of files. Instead, you can use unix commands like find
an xargs
to accomplish this:
find . -name '*.yml' -exec ratchet check {} \;
Yes, I've tried the same method to scan directory but if we want to implement this in the CI, things get complicated since our entry point is ratchet
in Docker image. So I want to use the following use-case scenario. Notice that we can not use the way you provided above.
# Example of checking all versions under .github/workflows/ are pinned.
- uses: 'docker://ghcr.io/sethvargo/ratchet:0.2.3'
with:
args: 'check .github/workflows/'
We created a simple PR anyway 🤷♂️ #29 (@developer-guy)
TL;DR
It would be nice to support directory inputs for
check
subcommand:Detailed design
Example output format:
Additional information
No response