community.general icon indicating copy to clipboard operation
community.general copied to clipboard

CI: Add yamllint for YAML files, plugin/module docs, and YAML in extra docs

Open felixfontein opened this issue 5 months ago • 2 comments
trafficstars

SUMMARY

This adds a basic yamllint config together with antsibull-nox configuration to use it for various places where YAML appears.

antsibull-nox allows to configure different yamllint configs for different contexts (YAML files, plugin/module docs, plugin/module examples, extra docs), for now I'd suggest to use the same "generic" (and not too strict) one for everything.

ISSUE TYPE
  • Test Pull Request
COMPONENT NAME

CI

felixfontein avatar Jun 19 '25 05:06 felixfontein

@russoz ping

felixfontein avatar Jun 25 '25 19:06 felixfontein

It's in my backlog, will likely review it on the weekend or early next week.

russoz avatar Jun 25 '25 21:06 russoz

Rebased to avoid this failing after merging due to changes ;-)

felixfontein avatar Jun 30 '25 18:06 felixfontein

Backport to stable-11: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-11/7e66fb052e1d58037d4db731bb34caa5e092be2b/pr-10279

Backported as https://github.com/ansible-collections/community.general/pull/10317

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

patchback[bot] avatar Jun 30 '25 18:06 patchback[bot]

@russoz thanks for reviewing this!

felixfontein avatar Jun 30 '25 18:06 felixfontein