From 2e5d777868f79b359080a96ba78ea256d1145fd0 Mon Sep 17 00:00:00 2001 From: Michal Landsman Date: Tue, 10 Nov 2026 22:12:35 +0100 Subject: [PATCH] ci: skip the build when only llms.txt or the licence changed, as for markdown --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 217608d..8361dcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,15 @@ name: ci -# A change to Markdown alone builds nothing: no check reads it, and main requires none, so a skipped run blocks no -# merge. A commit that touches anything else as well runs in full. +# A change to docs alone builds nothing: Markdown, llms.txt and the licence are read by no check, and main requires +# none, so a skipped run blocks no merge. A commit that touches anything else as well runs in full. on: push: branches: [main] - paths-ignore: ['**.md'] + paths-ignore: ['**.md', 'llms.txt', 'LICENSE'] # A draft runs nothing; marking it ready for review starts the run. pull_request: types: [opened, synchronize, reopened, ready_for_review] - paths-ignore: ['**.md'] + paths-ignore: ['**.md', 'llms.txt', 'LICENSE'] # A new push to a pull request cancels that PR's run still going: only the newest commit's result counts. # A push to main or a scheduled scan is never cancelled, so every merged commit and every Monday get a result.