Skip to content

Commit fdffc90

Browse files
chore: add git/CI steering rules [skip-ci]
1 parent f102cf3 commit fdffc90

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.kiro/steering/ci-commit-rules.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
inclusion: auto
3+
---
4+
5+
# Git & CI ルール
6+
7+
## コミットメッセージ
8+
9+
### CIフィルタタグ
10+
コミットメッセージでCIの実行範囲を制御できる。ユーザーが対象を限定する指示をした場合、自動的にタグを付与すること。
11+
12+
構文: `[key:value]` (ブラケット+コロン形式)
13+
14+
| タグ | 効果 ||
15+
|------|------|-----|
16+
| `[code:値]` | 指定プログラムのみ実行 | `[code:qws]` |
17+
| `[system:値]` | 指定システムのみ実行 | `[system:MiyabiG]` |
18+
| `[skip-ci]` | CI実行をスキップ | |
19+
| `[park-only]` | BenchParkパイプラインのみ | |
20+
| `[park-send]` | BenchPark結果送信のみ | |
21+
| `[benchpark]` | BenchParkパイプラインも実行 | |
22+
23+
注意:
24+
- `code=qws``system=MiyabiG` のような `=` 形式は無効(CIが認識しない)
25+
- ユーザーが「qwsだけ」「MiyabiGだけ」等と指示した場合 → `[code:qws] [system:MiyabiG]` に変換
26+
- result_server のみの変更は `[skip-ci]` を付与(ベンチマーク実行不要)
27+
28+
### コミットメッセージの書き方
29+
- 英語で記述
30+
- conventional commits 形式: `feat:`, `fix:`, `chore:`, `docs:`
31+
- CIタグはメッセージ末尾に付与
32+
33+
例: `feat: add estimation pipeline [code:qws] [system:MiyabiG]`
34+
35+
## ブランチ
36+
- 作業ブランチ: `develop`
37+
- プッシュ先: `origin develop`
38+
- PowerShellでの `git push` のstderr出力はエラーではない(正常動作)
39+
40+
## コミット対象の確認
41+
- `git status` で変更内容を確認してからコミット
42+
- 意図しないファイルが含まれていないか確認
43+
- ユーザーが明示的に指示していないファイル変更は確認を取る

0 commit comments

Comments
 (0)