Skip to content

The agent engineering platform.

fix(infra): harden pydantic test workflow against command injection (#33446)

Cole Murray557fc9a81728
diff --git a/.github/workflows/_test_pydantic.yml b/.github/workflows/_test_pydantic.yml
index a276242d18..8fdac9475f 100644
--- a/.github/workflows/_test_pydantic.yml
+++ b/.github/workflows/_test_pydantic.yml
@@ -51,7 +51,9 @@ jobs:
- name: "🔄 Install Specific Pydantic Version"
shell: bash
- run: VIRTUAL_ENV=.venv uv pip install pydantic~=${{ inputs.pydantic-version }}
+ env:
+ PYDANTIC_VERSION: ${{ inputs.pydantic-version }}
+ run: VIRTUAL_ENV=.venv uv pip install "pydantic~=$PYDANTIC_VERSION"
- name: "🧪 Run Core Tests"
shell: bash