Fix CI: venv yamllint + markdownlint config
This commit is contained in:
parent
99df4d9cca
commit
53188f3969
@ -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
4
.markdownlint-cli2.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Notes repo: long lines (IPs, commands, URLs) are common.
|
||||||
|
config:
|
||||||
|
MD013: false
|
||||||
|
|
||||||
@ -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”.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user