CI: skip runs for refm/- and docs/-only changes, narrow misspell scope#3038
Merged
Conversation
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Markdown 移行後、
refm/は凍結(ビルド対象はmanual/)、docs/は wiki から取り込むプロジェクト文書置き場で、どちらもビルドに影響しません。これらだけを変更する PR / push(今後の refm/ 削除や docs/ の棚卸しなど)で 3 OS × 全バージョンの rake マトリクスを回すのは無駄なので、CI にパス制限を追加します。変更内容
paths-ignore:push/pull_requestの両トリガーにdocs/**とrefm/**を追加。変更ファイルがこの2ツリーに収まる場合はワークフロー全体(rake マトリクス + misspell)をスキップgit ls-filesの対象からrefm/(凍結ツリー・919ファイル)とdocs/を除外補足
:(top)/:(exclude)の長形式なのは、git ls-filesでは除外のみの pathspec だと1件もマッチしなくなるため(正の pathspec が必須)。除外後の対象は 1,265 ファイル(manual/ ほか)で、ローカルで件数・除外の効きを確認済みです🤖 Generated with Claude Code