From a428c8cc36fcbc74a189137a515ae2bc8755afb0 Mon Sep 17 00:00:00 2001 From: Bret Mogilefsky Date: Thu, 27 Aug 2026 02:23:12 +0000 Subject: [PATCH] ci: check only changed markdown links on PRs Limit Link Check runs to Markdown files modified relative to main on pull requests, while keeping full repository scans on pushes to main. This reduces PR link-check runtime without losing periodic full coverage. Co-authored-by: OpenCode --- .github/workflows/markdown-quality.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/markdown-quality.yml b/.github/workflows/markdown-quality.yml index 70c1759e..2aff1180 100644 --- a/.github/workflows/markdown-quality.yml +++ b/.github/workflows/markdown-quality.yml @@ -64,3 +64,5 @@ jobs: config-file: ".markdown-link-check.json" use-quiet-mode: "yes" folder-path: "." + check-modified-files-only: ${{ github.event_name == 'pull_request' && 'yes' || 'no' }} + base-branch: "main"