From 818f8ccfded5e2037f0b0b390eb5323e3f464259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=BC=ED=98=81?= Date: Mon, 5 Oct 2026 14:15:14 +0000 Subject: [PATCH] =?UTF-8?q?ci(platform):=20CODEOWNERS=20=EB=A5=BC=20?= =?UTF-8?q?=EC=A7=80=EC=9B=8C=20.github=20=EB=B3=80=EA=B2=BD=20PR=20?= =?UTF-8?q?=EC=9D=98=20=EC=9E=90=EB=8F=99=20=EB=A6=AC=EB=B7=B0=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=EC=9D=84=20=EC=97=86=EC=95=A4=EB=8B=A4=20(#2283)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 리뷰를 폐지(#2277)했으므로 /.github/ @1hyok 코드 소유자 지정이 만드는 자동 리뷰 요청도 없앤다. 그 줄을 단언하던 merge-order-guard 정책 테스트를 함께 지운다. --- .github/CODEOWNERS | 2 -- .github/scripts/merge-order-guard-policy.test.mjs | 5 ----- 2 files changed, 7 deletions(-) delete mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 0037c93efb..0000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,2 +0,0 @@ -# Workflow definitions and their policy scripts are security-sensitive. -/.github/ @1hyok diff --git a/.github/scripts/merge-order-guard-policy.test.mjs b/.github/scripts/merge-order-guard-policy.test.mjs index 6aa57dae00..4b91502907 100644 --- a/.github/scripts/merge-order-guard-policy.test.mjs +++ b/.github/scripts/merge-order-guard-policy.test.mjs @@ -8,7 +8,6 @@ import test from "node:test"; const guard = await readFile(new URL("../workflows/merge-order-guard.yml", import.meta.url), "utf8"); const stackNotify = await readFile(new URL("../workflows/stack-integrity-notify.yml", import.meta.url), "utf8"); -const codeowners = await readFile(new URL("../CODEOWNERS", import.meta.url), "utf8"); function issueParser() { const match = /refs=\$\(\n\s+PR_JSON="\$pr_json" node <<'NODE'\n([\s\S]*?)\n[ \t]*NODE\n\s+\)/.exec(guard); @@ -257,10 +256,6 @@ test("close notifier executes only trusted default-branch policy", () => { assert.doesNotMatch(stackNotify, /actions\/checkout[\s\S]*github\.event\.pull_request\.head/); }); -test("declares the repository code owner for GitHub automation and policy changes", () => { - assert.match(codeowners, /^\/\.github\/ @1hyok$/m); -}); - test("live CLOSED warns upper PRs while OPEN or MERGED resolves the same bot comment", () => { assert.match(stackNotify, /issues: write/); // 코멘트 대상이 PR 이면 GitHub 은 pull-requests 쓰기를 요구한다. 이 칸이 read 로