ci: docs-only 変更で CI 全 job を skip する#357
Merged
Merged
Conversation
- ci.yml の push / pull_request に paths-ignore (**/*.md, docs/**, .github/ISSUE_TEMPLATE/**) を追加 - ci-skip.yml を新規追加: 補完する paths filter で trigger され、 ci.yml の各 required check (lint / typecheck / test / e2e / electron-e2e / build / dependency-review) を stub success で提供 - codeql.yml + codeql-skip.yml と同じ pattern・同じ path 定義で揃える - HANDOFF §1 対応 (PR #356 の CLAUDE.md 1 行追記でも e2e 全 job が 走った件を解消)
11 tasks
ymnao
added a commit
that referenced
this pull request
Jul 18, 2026
- ci.yml + ci-skip.yml と codeql.yml + codeql-skip.yml の paths-ignore / paths を js-yaml でパースし、pair 間の補完関係と 4 workflow 全体で path list が同一であることを assert - vitest.config.ts に workflows project (node env, test/**/*.test.ts) を追加 - tsconfig.node.json の include に test を追加 PR #357 で codex-review qa-fixture が REPORT-ONLY で指摘した 「paths リスト drift 検証テスト不在」を pair 全体の pattern 昇格として 解消 (HANDOFF §2)。
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.
概要
docs-only PR (CLAUDE.md / docs/** / .github/ISSUE_TEMPLATE/** のみの変更) で CI 全 job の実行を skip し、Actions minutes と PR merge 待ち時間を削減する。
関連 Issue
なし (HANDOFF §1 で追跡)
移行 Stage
該当なし (CI 最適化)
変更内容
.github/workflows/ci.ymlのon.push/on.pull_requestにpaths-ignoreを追加 (**/*.md,docs/**,.github/ISSUE_TEMPLATE/**).github/workflows/ci-skip.ymlを新規追加: 補完するpathsfilter で trigger され、ci.yml の required check 7 個 (lint/typecheck/test/e2e/electron-e2e/build/dependency-review) を stub success で提供codeql.yml+codeql-skip.ymlpair と同一 pattern・同一 path 定義で揃える (GitHub 公式ドキュメント推奨の Handling skipped but required checks workaround)動作確認
.github/workflows/*.yml) を含むため、通常の ci.yml が trigger され全 required check が実 run で検証されるdocs:/chore:PR で観察)スクリーンショット
なし
検証エビデンス
リスク分類
tier: high — reasons:
ci-config: .github/workflows/ci-skip.yml .github/workflows/ci.yml実行した検証
レビュー指摘と対応
追跡先
なし (REPORT-ONLY 2 件は既存 codeql pair 共通の pattern-level 懸念で本 PR 起因ではないため、fix-or-issue ポリシー上「fix 不要のみ」扱い)
Draft 判定