Add CI for markdown and yaml #1

Merged
ilia merged 3 commits from ci into main 2025-12-30 22:34:39 -05:00
3 changed files with 8 additions and 3 deletions
Showing only changes of commit 53188f3969 - Show all commits

View File

@ -83,13 +83,15 @@ jobs:
shell: bash
run: |
set -euo pipefail
python3 -m pip install --user --no-cache-dir yamllint==1.35.1
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
python3 -m venv .venv
. .venv/bin/activate
pip install --no-cache-dir yamllint==1.35.1
- name: Lint YAML
shell: bash
run: |
set -euo pipefail
# Lint tracked YAML only (avoid .git and other noise)
. .venv/bin/activate
git ls-files '*.yml' '*.yaml' | xargs -r yamllint -d "{extends: default, rules: {line-length: disable}}"

4
.markdownlint-cli2.yaml Normal file
View File

@ -0,0 +1,4 @@
# Notes repo: long lines (IPs, commands, URLs) are common.
config:
MD013: false

View File

@ -22,4 +22,3 @@ Personal notes for my homelab: build logs, configs, and operational runbooks for
This is an actively evolving notebook. Some sections may be incomplete or “work in progress”.