Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a separate job to the `reusable-yamllint` workflow to validate the (reusable) workflows against common errors and potential problems and show the results inline in pull requests. In particular, this is intended to protect against errors being introduced in the reusable workflows, as not all of those are run from within this repo, so errors would only be discovered via a failing build in _another_ repo, which does run the reusable workflow. This new job is intended to prevent this potential issue. As this is a reusable workflow, other repos using this workflow will automatically inherit this job. While this may not be _strictly_ necessary (as for other repos, the workflows will generally always be run), it also doesn't do any harm to have that extra verification in place. Loosely based on wp-cli/.github 111 Refs: * https://github.com/rhysd/actionlinthttps://github.com/rhysd/actionlint * https://github.com/rhysd/actionlint/blob/main/docs/README.md Co-authored-by: Thorsten Frommen <[email protected]>
- Loading branch information