[repo] Add linting of yml/yaml files in CI #1688
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
infra
Infra work - CI/CD, code coverage, linters
We ran into an issue where a typo in a yml file (09cafa5) broke all code coverage upload.
I did a quick scan of GitHub marketplace, there seem to be some YML linters available. We should add linting of yml/yaml files into the CI.
High level we need to add a bucket for these files here:
opentelemetry-dotnet-contrib/.github/workflows/ci.yml
Line 20 in dc7be37
yml: [ '**.yml, '**.yaml' ]
And then add a step for
yml
changes which calls some workflow to run linting. Similar to this...opentelemetry-dotnet-contrib/.github/workflows/ci.yml
Lines 78 to 83 in dc7be37
The text was updated successfully, but these errors were encountered: