ci: paths-filter で root 直下の .md も docs 扱いにする(#59)#60
Merged
Conversation
`!**/*.md` は root 直下の .md(CLAUDE.md / TODO.md / README.md 等)にマッチ しないため、それらだけの PR でも src=true 判定でフル CI が走っていた (PR #58 で確認)。`!*.md` を追加して root の .md も除外する。 - ci.yml / self-test.yml の changes フィルタに `!*.md` を追記 - TODO.md: #59 を解決済み(#60)へ Closes #59 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AECzAv2vcdATecuvLjBSa6
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
Walkthrough
ChangesTODO.md 更新
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
概要
ci.yml/self-test.ymlのdorny/paths-filterフィルタ!**/*.mdは root 直下の.md(CLAUDE.md/TODO.md/README.md等)にマッチしないため、これらだけの PR でもsrc = trueと判定され、フル matrix / self-test / proxy ジョブが走って CI 課金を無駄にしていた。実例: PR #58(
CLAUDE.md+TODO.mdのみ)のDetect changesがFilter src = true。変更内容
ci.yml/self-test.ymlのchangesフィルタに- '!*.md'を追加(root 直下の.mdを除外)。!**/*.md(サブディレクトリの .md)と併用検証
actionlint✅ /typos✅.ymlを変更するためsrc = trueでフル CI が走る(=挙動は次の docs-only PR で「重いジョブがスキップされる」ことで確認できる)参照
🤖 Generated with Claude Code
Summary by cubic
Exclude root-level
.mdfiles from thedorny/paths-filtersrcfilter so docs-only PRs skip heavy CI (matrix/self-test/proxy); non-doc PRs are unchanged. Implemented by adding!*.mdalongside!**/*.mdinci.ymlandself-test.yml. Closes #59.Written for commit 9912931. Summary will update on new commits.