diff --git a/CONTRIBUTING.ja.md b/CONTRIBUTING.ja.md index a353239fb..b118aa1e9 100644 --- a/CONTRIBUTING.ja.md +++ b/CONTRIBUTING.ja.md @@ -22,6 +22,7 @@ 3. テストスイートを実行する: `bats tests/`。 4. 周囲のコードスタイルに合わせる。Bash が主要言語であり、すべてのスクリプトの先頭で `set -euo pipefail` を使うこと。 5. ユーザーから見える変更であれば、ドキュメントも更新する。 +6. PR は `main` に squash コミット 1 つとして着地する — リポジトリ側で merge と rebase のマージは無効にしてある。ブランチのコミットは 1 つにまとめられるので、PR のタイトルはそのままコミットの件名として読める形で書くこと。レビュー前にブランチの履歴を整える必要はない。 ## リリース diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d5df919a..a86a607b3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,6 +22,7 @@ Open an issue on [`fujibee/agmsg`](https://github.com/fujibee/agmsg/issues). Inc 3. Run the test suite: `bats tests/`. 4. Match the surrounding code style. Bash is the primary language; use `set -euo pipefail` at the top of every script. 5. Update docs if the change is user-visible. +6. PRs land on `main` as a single squash commit — merge and rebase merges are disabled on the repository. Your branch's commits are collapsed into one, so write the PR title to read well as that commit's subject. There is no need to tidy your branch history before review. ## Releases