個別コミットへのコメントを無効化可能に
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Changelog
GitHubが、リポジトリ管理者が個別のコミットへのコメントを無効化できる機能を追加した。これにより、古いコミットへの不要なコメントによるノイズを管理者が管理しやすくなる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
リポジトリ管理者は、個別のコミットへのコメントを無効化できるようになりました。これは、古いコミットへの不要なコメントに対処するメンテナーにとって、小さくとも意味のある改善です。
リポジトリ設定に新設された「コミット」セクションには、「個別コミットへのコメントを許可する」オプションが含まれており、デフォルトでは有効になっています。これにより、すべてのリポジトリにおいて従来の動作が維持されます。
a
このオプションのチェックを外すと、以下のようになります:
- コミットページ上で、コメントフォーム、インライン差分へのコメント追加機能、およびインラインスレッドへの返信機能が非表示になります。
- REST APIおよびGraphQL APIを介したコメント作成がブロックされます。
- 既存のコミットコメントは影響を受けず、表示、編集、削除が可能です。
実際に試すには、リポジトリの「設定」に移動し、「コミット」セクションまでスクロールして、「個別コミットへのコメントを許可する」のチェックを外してください。
ご意見・ご感想は、コミュニティディスカッションにコメントをお寄せください。
この投稿「個別コミットへのコメントを無効化」は、The GitHub Blogで最初に公開されました。
原文を表示
Repository admins can now disable comments on individual commits, a small but meaningful improvement for maintainers dealing with unwanted noise on old commits.
A new “Commits” section in repository settings includes the option Allow comments on individual commits, which is enabled by default to preserve existing behavior across all repositories.
a
When this option is unchecked:
The comment form, inline diff comment affordance, and inline thread reply capability are hidden on commit pages.
Comment creation through both the REST API and GraphQL API is blocked.
Existing commit comments are not affected—they can be viewed, edited, and deleted.
To try it out, navigate to your repository’s Settings, scroll to the “Commits” section, and uncheck Allow comments on individual commits.
Drop a comment in our Community discussion to share your feedback.
The post Disable comments on individual commits appeared first on The GitHub Blog.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み