From 65d1302106fd2a7c94326114a464859b38f9df68 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 9 Jul 2026 14:26:56 +0900 Subject: [PATCH] CI: skip runs for refm/- and docs/-only changes, narrow misspell scope refm/ is frozen since the July 2026 Markdown migration (manual/ is the canonical source) and docs/ holds project documentation imported from the wiki; neither affects the build, so changes touching only those trees do not need the full rake matrix. Add paths-ignore for both to the push and pull_request triggers, and exclude them from the misspell file list as well. Note: the ':(top)'/':(exclude)' long-form pathspecs are used because an exclude-only pathspec yields no files with git ls-files. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c3866c730..63583445bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,14 @@ name: CI -on: [push, pull_request] +on: + push: + paths-ignore: + - 'docs/**' + - 'refm/**' + pull_request: + paths-ignore: + - 'docs/**' + - 'refm/**' jobs: ruby-versions: @@ -103,4 +111,4 @@ jobs: run: 'curl -L https://git.io/misspell | bash' - name: Run misspell run: | - git ls-files -z | xargs -0 ./bin/misspell -error -i addopt + git ls-files -z -- ':(top)' ':(exclude)refm' ':(exclude)docs' | xargs -0 ./bin/misspell -error -i addopt