From 934f19336c9e33859df8847c91d7acac7802e81d Mon Sep 17 00:00:00 2001 From: Manas Srivastava Date: Thu, 21 May 2026 23:48:04 +0530 Subject: [PATCH 1/2] ci: install typos + lychee (Tier-2 quality) typos (crate-ci): fast Rust-based spell-checker for source + docs lychee: broken-link checker for markdown + HTML 100% free for public repos. Both run in <1min. lychee starts with fail=false (warn-only) so first runs don't block merges if the existing markdown has broken links. Flip to fail=true after baseline is clean. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/lychee.yml | 24 ++++++++++++++++++++++++ .github/workflows/typos.yml | 18 ++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .github/workflows/lychee.yml create mode 100644 .github/workflows/typos.yml diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml new file mode 100644 index 0000000..5e46750 --- /dev/null +++ b/.github/workflows/lychee.yml @@ -0,0 +1,24 @@ +name: lychee (broken links) + +on: + push: + branches: [master, main] + pull_request: + branches: [master, main] + schedule: + - cron: '29 6 * * 1' + +permissions: + contents: read + issues: write + +jobs: + links: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: lycheeverse/lychee-action@v2 + with: + args: --no-progress --max-concurrency 4 --exclude-mail './**/*.md' './**/*.html' + fail: false # warn-only on first install; flip to true once baseline is clean diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 0000000..1e3a4dd --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,18 @@ +name: typos + +on: + push: + branches: [master, main] + pull_request: + branches: [master, main] + +permissions: + contents: read + +jobs: + typos: + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@v1.30.0 From 1fe0097df6d44f2f8812604d40dbd4fac4f57840 Mon Sep 17 00:00:00 2001 From: Manas Srivastava Date: Thu, 21 May 2026 23:56:32 +0530 Subject: [PATCH 2/2] ci(typos): make warn-only (continue-on-error: true) Surface spelling findings without blocking CI on existing baseline. Lychee was already warn-only; this aligns typos with the same posture. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/typos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 1e3a4dd..d25ee6b 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -16,3 +16,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: crate-ci/typos@v1.30.0 + continue-on-error: true # warn-only — surface findings without blocking CI