From 67726a07d292beed8f6138619dff1066228b2b11 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Fri, 9 Oct 2026 22:54:55 +0900 Subject: [PATCH] ci: admit dedicated Gyeot runner label in global policy --- .github/actionlint.yaml | 1 + tests/test_all_self_hosted_runner_contract.py | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index dbd43187c2..a595f31ec0 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -3,3 +3,4 @@ self-hosted-runner: labels: - cwlab-ci-isolated - cwlab-control + - gyeot-ci diff --git a/tests/test_all_self_hosted_runner_contract.py b/tests/test_all_self_hosted_runner_contract.py index 16202c3f5f..30280690a1 100644 --- a/tests/test_all_self_hosted_runner_contract.py +++ b/tests/test_all_self_hosted_runner_contract.py @@ -17,6 +17,7 @@ 'CWL central OpenCode': set(), 'CWL CI isolated': {'cwlab-ci-isolated'}, 'CWL law CI': {'law-ai-agent-ci'}, + 'CWL Gyeot CI': {'gyeot-ci'}, } @@ -81,6 +82,14 @@ def test_static_runner_group_policy_is_explicit_and_fail_closed() -> None: assert required_static_labels('CWL law CI') == { 'self-hosted', 'linux', 'x64', 'law-ai-agent-ci', } + assert required_static_labels('CWL Gyeot CI') == { + 'self-hosted', 'linux', 'x64', 'gyeot-ci', + } + configured = yaml.safe_load(Path('.github/actionlint.yaml').read_text()) + assert 'gyeot-ci' in configured['self-hosted-runner']['labels'] + assert {'cwlab-ci-isolated', 'cwlab-control'}.issubset( + configured['self-hosted-runner']['labels'] + ) with pytest.raises(AssertionError, match='unsupported static group'): required_static_labels('CWL ungoverned CI')