Skip to content

chore(ci): Update the yamllint rules to match the ansible-lint rules#804

Open
annie444 wants to merge 3 commits into
prometheus-community:mainfrom
annie444:update-yamllint-rules-to-match-ansible-lint-rules
Open

chore(ci): Update the yamllint rules to match the ansible-lint rules#804
annie444 wants to merge 3 commits into
prometheus-community:mainfrom
annie444:update-yamllint-rules-to-match-ansible-lint-rules

Conversation

@annie444

Copy link
Copy Markdown
Contributor

Updated the yamllint rules in accordance with Ansible Lint's suggested settings. Specifically, this addresses the following warning:

WARNING  Found incompatible custom yamllint configuration (.yamllint.yml), please either remove the file or edit it to comply with:
  - comments.min-spaces-from-content must be 1
  - comments-indentation must be false
  - octal-values.forbid-implicit-octal must be true
  - octal-values.forbid-explicit-octal must be true.

Read https://docs.ansible.com/projects/lint/rules/yaml/ for more details regarding why we have these requirements. Fix mode will not be available.

Signed-off-by: Annie Ehler <annie.ehler.4@gmail.com>
@annie444 annie444 force-pushed the update-yamllint-rules-to-match-ansible-lint-rules branch from bc4d659 to c54804d Compare May 20, 2026 00:19
@annie444 annie444 changed the title ci: Update the yamllint rules to match the ansible-lint rules chore(ci): Update the yamllint rules to match the ansible-lint rules May 20, 2026
@SuperQ

SuperQ commented May 25, 2026

Copy link
Copy Markdown
Contributor

Fixing the version issue in #807.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants