github-workflows-kt icon indicating copy to clipboard operation
github-workflows-kt copied to clipboard

Allow running consistency check for all workflows

Open krzema12 opened this issue 2 years ago • 0 comments

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.

krzema12 avatar Apr 23 '22 12:04 krzema12