From 5735d01804626f20c8d23c82ec2ba16c67da74ca Mon Sep 17 00:00:00 2001 From: Maxwell Oldshein Date: Mon, 6 Oct 2025 23:52:14 -0400 Subject: [PATCH 1/4] Validate remote manifest against local schema --- .github/workflows/validate_modified_targets.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/validate_modified_targets.yml b/.github/workflows/validate_modified_targets.yml index bb244511..a613048c 100644 --- a/.github/workflows/validate_modified_targets.yml +++ b/.github/workflows/validate_modified_targets.yml @@ -83,6 +83,10 @@ jobs: echo "changed_targets=$CHANGED" >> "$GITHUB_OUTPUT" # --- The rest of the steps below are unchanged --- + - name: Validate remote manifest against local schema + if: steps.discover-modified.outputs.changed_targets != '' + run: | + poetry run pytest tests/test_manifest.py::test_validate_manifest_against_local_schema - name: Validate modified targets if: steps.discover-modified.outputs.changed_targets != '' From 70c3c84196ff3fc00aae55849e01186f507c8a7d Mon Sep 17 00:00:00 2001 From: Maxwell Oldshein Date: Tue, 7 Oct 2025 14:50:54 -0400 Subject: [PATCH 2/4] Update validation logic placement in workflow --- .github/workflows/validate_modified_targets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate_modified_targets.yml b/.github/workflows/validate_modified_targets.yml index a613048c..5b61a8d1 100644 --- a/.github/workflows/validate_modified_targets.yml +++ b/.github/workflows/validate_modified_targets.yml @@ -82,12 +82,12 @@ jobs: echo -e ">>> Changed targets: \n$(echo $CHANGED | tr ',' '\n')" echo "changed_targets=$CHANGED" >> "$GITHUB_OUTPUT" - # --- The rest of the steps below are unchanged --- - name: Validate remote manifest against local schema if: steps.discover-modified.outputs.changed_targets != '' run: | poetry run pytest tests/test_manifest.py::test_validate_manifest_against_local_schema - + + # --- The rest of the steps below are unchanged --- - name: Validate modified targets if: steps.discover-modified.outputs.changed_targets != '' continue-on-error: true From d20dcbe8dbc424e52a7524091584c59245764c8d Mon Sep 17 00:00:00 2001 From: Maxwell Oldshein Date: Tue, 7 Oct 2025 14:52:53 -0400 Subject: [PATCH 3/4] Retain original whitespace --- .github/workflows/validate_modified_targets.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate_modified_targets.yml b/.github/workflows/validate_modified_targets.yml index 5b61a8d1..32e73f89 100644 --- a/.github/workflows/validate_modified_targets.yml +++ b/.github/workflows/validate_modified_targets.yml @@ -86,8 +86,9 @@ jobs: if: steps.discover-modified.outputs.changed_targets != '' run: | poetry run pytest tests/test_manifest.py::test_validate_manifest_against_local_schema - + # --- The rest of the steps below are unchanged --- + - name: Validate modified targets if: steps.discover-modified.outputs.changed_targets != '' continue-on-error: true From 46ad6c9a5e128676a80a35a345e3c6a7ade0d026 Mon Sep 17 00:00:00 2001 From: Maxwell Oldshein Date: Tue, 7 Oct 2025 14:53:47 -0400 Subject: [PATCH 4/4] Fix whitespace. --- .github/workflows/validate_modified_targets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_modified_targets.yml b/.github/workflows/validate_modified_targets.yml index 32e73f89..37e2eb01 100644 --- a/.github/workflows/validate_modified_targets.yml +++ b/.github/workflows/validate_modified_targets.yml @@ -88,7 +88,7 @@ jobs: poetry run pytest tests/test_manifest.py::test_validate_manifest_against_local_schema # --- The rest of the steps below are unchanged --- - + - name: Validate modified targets if: steps.discover-modified.outputs.changed_targets != '' continue-on-error: true