github-workflows-kt
github-workflows-kt copied to clipboard
Allow running consistency check for all workflows
Some workflows run frequently, e. g. building the project is done usually every commit, but releases are done less often. If Kotlin script and YAML diverge, the moment when the user learns about it is at the moment the workflow runs. It then requires patching.
An alternative approach would be to proactively check consistency for all supported workflows, as often as possible, then it would speed up detecting any issues. It could even allow disabling consistency check during workflow runtime.
Rough idea: provide utilities that generate a workflow for calling just the consistency checks of all workflows.