From b438c2fae8a1551edacc616c2d386782140e18f4 Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Tue, 14 Apr 2026 02:56:01 -0400 Subject: [PATCH 1/3] =?UTF-8?q?fix(contracts):=20remove=20circular=20dod-0?= =?UTF-8?q?03=20test=5Fpasses=20check=20from=20OMN-8038=20=E2=80=94=20CI?= =?UTF-8?q?=20tests=20verified=20by=20PR=20gate,=20not=20by=20compliance?= =?UTF-8?q?=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contracts/OMN-8038.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/contracts/OMN-8038.yaml b/contracts/OMN-8038.yaml index 5ee5adcd5ef..69a1b39b4c7 100644 --- a/contracts/OMN-8038.yaml +++ b/contracts/OMN-8038.yaml @@ -26,12 +26,6 @@ dod_evidence: checks: - check_type: "command" check_value: "gh pr view {pr} --repo {repo} --json mergedAt -q .mergedAt" - - id: "dod-003" - description: "Tests pass in CI" - source: "generated" - checks: - - check_type: "test_passes" - check_value: "ci_green" - id: "dod-004" description: "Pre-commit hooks clean" source: "generated" From e5c64e143507446a889f75e660ddd98b68e7ffbc Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Tue, 14 Apr 2026 03:01:12 -0400 Subject: [PATCH 2/3] ci: retrigger on PR #267 From 62f83a0d4d9b11f108ab32ad2b34317a71f0c8e0 Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Tue, 14 Apr 2026 03:13:21 -0400 Subject: [PATCH 3/3] fix(ci): use checked-out contracts dir when running compliance check in onex_change_control itself --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2e9b36241f..86bb6ab4ce1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -233,9 +233,16 @@ jobs: else echo "skip=false" >> "$GITHUB_OUTPUT" fi - - name: Clone onex_change_control + - name: Set up contracts source if: steps.bootstrap_check.outputs.skip != 'true' - run: git clone --depth=1 https://github.com/OmniNode-ai/onex_change_control.git /tmp/onex_change_control + id: contracts_setup + run: | + if [ "${{ github.repository }}" = "OmniNode-ai/onex_change_control" ]; then + # Running in this repo itself — use checked-out contracts (PR diff version) + ln -s "$GITHUB_WORKSPACE" /tmp/onex_change_control + else + git clone --depth=1 https://github.com/OmniNode-ai/onex_change_control.git /tmp/onex_change_control + fi - name: Install pyyaml if: steps.bootstrap_check.outputs.skip != 'true' run: pip install pyyaml