I was reading the README and understanding the overall mental model. And this is very promising, thanks for the project.
It would be great to have a new subcommand called check. So, what is check?
# checks the input file for all pinned values
# if we found _any_ "unpinned" version, exists 1.
# if everything is already pinned, exists 0.
$ ratchet check workflow.yml
By doing so, we can create a ratchet-github-action to include this check in our CI/CD process. Workflow will eventually fail if someone tries to push "unpinned" value.
If you like the idea, we can (@developer-guy) work on this!
I was reading the README and understanding the overall mental model. And this is very promising, thanks for the project.
It would be great to have a new subcommand called
check
. So, what is check?By doing so, we can create a
ratchet-github-action
to include this check in our CI/CD process. Workflow will eventually fail if someone tries to push "unpinned" value.If you like the idea, we can (@developer-guy) work on this!