Files
k3k/.yamllint
Enrico CandinoandGitHub 3f25eabe38 feat: Enhance GitHub Actions workflows and add YAML linting (#1020)
- Updated action descriptions for clarity in provision-k3s-vm-workers.
- Refactored steps in provision-k3s-vm-workers for improved readability.
- Adjusted permissions formatting in multiple workflows for consistency.
- Added YAML linting step in validate workflow to ensure YAML file quality.
- Introduced .yamllint configuration file for GitHub Actions YAML files.
- Enhanced Makefile to include a target for linting YAML files.
2026-07-14 16:51:08 +02:00

25 lines
667 B
Plaintext

# yamllint config for the GitHub Actions YAML files (see `make lint-yaml`).
extends: default
rules:
# GitHub Actions workflows don't use an explicit document start.
document-start: disable
# Workflows have long lines (SHA-pinned actions, shell commands); don't enforce.
line-length: disable
# Allow the workflow trigger key `on:` without a "truthy" warning.
truthy:
check-keys: false
# Inline SHA pins are written as `uses: action@sha # v1` (one space before #).
comments:
min-spaces-from-content: 1
# Enforce the repo's indentless sequence style:
# steps:
# - name: ...
indentation:
spaces: 2
indent-sequences: false