mirror of
https://github.com/rancher/k3k.git
synced 2026-08-11 00:16:16 +00:00
- 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.
25 lines
667 B
Plaintext
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
|