From 53188f39692a7f206fa98cd2178cda199a5ff281 Mon Sep 17 00:00:00 2001 From: ilia Date: Tue, 30 Dec 2025 22:24:59 -0500 Subject: [PATCH] Fix CI: venv yamllint + markdownlint config --- .gitea/workflows/ci.yml | 6 ++++-- .markdownlint-cli2.yaml | 4 ++++ README.md | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .markdownlint-cli2.yaml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0105334..39d70af 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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}}" diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml new file mode 100644 index 0000000..ec6adb1 --- /dev/null +++ b/.markdownlint-cli2.yaml @@ -0,0 +1,4 @@ +# Notes repo: long lines (IPs, commands, URLs) are common. +config: + MD013: false + diff --git a/README.md b/README.md index d8110e4..cc0dc9c 100644 --- a/README.md +++ b/README.md @@ -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”. -