CODEOWNERS: say what this file actually does today - #39
Merged
Conversation
The note said branch protection was not enabled yet. It is, since 2026-08-22 — the drift check is a required status check with enforce_admins, which is what makes ADR-0006 requirement 3 hold rather than merely be written down. It also pointed at "Require review from Code Owners" as the way to make this real. With one collaborator that would not tighten the gate, it would close the repo: GitHub does not let anyone approve their own pull request, so every merge would block. Worth stating plainly rather than leaving as advice someone follows once. The file starts earning its place when a second maintainer exists or an outside fork opens a PR. Kept until then because it costs nothing and /contracts/ and /decisions/ already declare who owns them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
หมายเหตุใน
CODEOWNERSบอกข้อมูลที่ไม่จริงแล้ว และชี้ทางที่จะทำให้ repo merge ไม่ได้เลยที่ผิด
branch protection เปิดแล้วตั้งแต่ 2026-08-22 — required status check +
enforce_admins· ไฟล์นี้เลยกำลังบอกคนอ่านคนถัดไปผิดเรื่องสถานะของ repo ที่เขายืนอยู่ที่อันตรายกว่า
หมายเหตุเดิมชี้ว่าทางทำให้ CODEOWNERS มีผลจริงคือเปิด "Require review from Code Owners"
ทำแล้วจะไม่ได้ gate ที่เข้มขึ้น แต่จะปิด repo — GitHub ไม่ให้ใครอนุมัติ PR ของตัวเอง และ repo นี้มี collaborator คนเดียว → merge ไม่ได้เลยสักอัน
เป็นคำแนะนำที่ใครอ่านแล้วทำตามครั้งเดียวก็เจอ จึงเขียนไว้ตรง ๆ ดีกว่าปล่อยไว้
ที่ไฟล์นี้ทำอยู่จริง — ไม่มีอะไรเลย และวัดได้
GitHub ไม่ request review จากคนที่เปิด PR เอง · เก็บไว้เพราะราคาเป็นศูนย์ และจะเริ่มทำงานเมื่อมี maintainer คนที่สองหรือมีคนนอก fork มาเปิด PR — ตอนนั้นเปิด required code-owner review ได้โดยไม่ล็อกตัวเอง
🤖 Generated with Claude Code