Fix CI: venv yamllint + markdownlint config
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m16s
CI / markdown-lint (pull_request) Failing after 1m18s
CI / yaml-validate (pull_request) Failing after 1m18s

This commit is contained in:
ilia 2025-12-30 22:24:59 -05:00
parent 99df4d9cca
commit 53188f3969
3 changed files with 8 additions and 3 deletions

View File

@ -83,13 +83,15 @@ jobs:
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
python3 -m pip install --user --no-cache-dir yamllint==1.35.1 python3 -m venv .venv
echo "$HOME/.local/bin" >> "$GITHUB_PATH" . .venv/bin/activate
pip install --no-cache-dir yamllint==1.35.1
- name: Lint YAML - name: Lint YAML
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
# Lint tracked YAML only (avoid .git and other noise) # 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}}" 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”. This is an actively evolving notebook. Some sections may be incomplete or “work in progress”.