Skip to content

Document auto-skip build feature in CLAUDE.md#76

Merged
toshi0806 merged 2 commits intomainfrom
docs-auto-skip-build-feature
Nov 3, 2025
Merged

Document auto-skip build feature in CLAUDE.md#76
toshi0806 merged 2 commits intomainfrom
docs-auto-skip-build-feature

Conversation

@toshi0806
Copy link
Member

概要

PR #75で追加された自動ビルドスキップ機能について、CLAUDE.mdに包括的なドキュメントを追加しました。

追加内容

新しいセクション「CI/CD Workflow and Auto-Skip Build Feature」を追加:

1. 自動ビルドスキップの説明

  • ドキュメントファイル(*.md, *.txt, LICENSE, .gitignore)のみの変更時に自動スキップ
  • それ以外のファイル(Dockerfile, ソースコード等)変更時は通常ビルド

2. コミットメッセージタグの使い方

  • [skip-build]: 全ビルドをスキップ
  • [build-lite]: ライト版のみビルド(両アーキテクチャ)
  • [build-full]: フル版のみビルド
  • [build-all]: 両バージョンビルド(両アーキテクチャ)

3. デフォルト動作

  • PR: Full版を自動ビルド(早期検出)
  • mainブランチ: 自動検出またはタグ制御

4. 実用例とメリット

  • 使用例をコード付きで説明
  • 時間節約、リソース効率化などのメリットを明記

テスト

このPR自体がドキュメントのみの変更なので、自動ビルドスキップ機能が動作することを確認できます。

関連

Add comprehensive documentation for CI/CD workflow's intelligent build
skipping feature, including:
- Automatic detection logic
- Commit message tag usage
- Examples and benefits
- Default behavior for PRs and main branch
Copilot AI review requested due to automatic review settings November 3, 2025 13:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive documentation for the CI/CD workflow's intelligent build-skipping feature, which optimizes build times by automatically skipping builds when only documentation files are changed, while providing manual override options through commit message tags.

  • Documents automatic build-skipping rules based on file types
  • Explains commit message tags for manual build control ([skip-build], [build-lite], [build-full], [build-all])
  • Provides usage examples and describes the benefits of the feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CLAUDE.md Outdated

### Default Behavior

- **Pull Requests**: Automatically build Full version on x86_64 to catch issues early
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The architecture name 'x86_64' is inconsistent with 'linux/amd64' used elsewhere in the documentation (lines 68, 72, 76). Consider using 'linux/amd64' consistently throughout for clarity.

Suggested change
- **Pull Requests**: Automatically build Full version on x86_64 to catch issues early
- **Pull Requests**: Automatically build Full version on linux/amd64 to catch issues early

Copilot uses AI. Check for mistakes.
Fixes #76 - Use 'linux/amd64' consistently instead of 'x86_64' to
match the platform naming convention used throughout the documentation.
@toshi0806
Copy link
Member Author

Copilotレビューへの対応完了

レビューコメントに対応しました:

アーキテクチャ名の一貫性 ✅

コメント ID: 2486453580

  • 指摘:x86_64linux/amd64 と混在している
  • 対応:line 80を linux/amd64 に統一
  • コミット: bf16977

これでドキュメント全体で linux/amd64 という表記に統一されました。マージ準備完了です。

@toshi0806 toshi0806 merged commit 81ae43e into main Nov 3, 2025
5 checks passed
@toshi0806 toshi0806 deleted the docs-auto-skip-build-feature branch November 3, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants