From 782cc089a1acf06d5726d46c1e777394f6b388b9 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 24 Feb 2026 17:22:22 -0700 Subject: [PATCH 1/2] test CI --- .gitea/workflows/markdown-lint.yml | 37 ++++++++++++++++++++++++++++++ .markdownlint.json | 8 +++++++ 2 files changed, 45 insertions(+) create mode 100644 .gitea/workflows/markdown-lint.yml create mode 100644 .markdownlint.json diff --git a/.gitea/workflows/markdown-lint.yml b/.gitea/workflows/markdown-lint.yml new file mode 100644 index 0000000..f1a9739 --- /dev/null +++ b/.gitea/workflows/markdown-lint.yml @@ -0,0 +1,37 @@ +name: Markdown Validation + +on: + push: + branches: [main] + pull_request: + types: [opened, reopened, synchronize] + +jobs: + amd64: + runs-on: [ ubuntu-24.04, amd64-builder ] + steps: + - name: System Info + run: uname -m + + - name: Setup + run: | + apt update -y + apt install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt install -y nodejs + + - name: Checkout + uses: actions/checkout@v4 + + - name: Install markdownlint-cli + run: | + npm ci || npm install + npm i -D markdownlint-cli + + - name: Run markdownlint + # The glob pattern finds all markdown files recursively. + # Adjust if you store docs elsewhere (e.g., docs/**/*.md). + run: | + npx markdownlint "**/*.md" \ + --ignore node_modules \ + --config .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..82fb955 --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,8 @@ +{ + "default": true, + + // Example customisations – adjust or delete as needed + "MD013": { "line_length": 120 }, // max line length (set higher if you prefer) + "MD041": false, // allow first line not to be a top‑level heading + "MD033": false // allow inline HTML (useful for Gollum embeds) +} -- 2.51.2 From 2c48b31d224e2f6a43580def4c426dd181482ee5 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 24 Feb 2026 17:30:48 -0700 Subject: [PATCH 2/2] testing CI --- .gitea/workflows/markdown-lint.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/markdown-lint.yml b/.gitea/workflows/markdown-lint.yml index f1a9739..44a69d7 100644 --- a/.gitea/workflows/markdown-lint.yml +++ b/.gitea/workflows/markdown-lint.yml @@ -13,12 +13,10 @@ jobs: - name: System Info run: uname -m - - name: Setup - run: | - apt update -y - apt install -y curl gnupg - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt install -y nodejs + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' - name: Checkout uses: actions/checkout@v4 -- 2.51.2