diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 0037c93ef..000000000 --- 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 6aa57dae0..4b9150290 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 로