From cb4155aa7e817dbfc0b0e905d61b0ea2a4203e11 Mon Sep 17 00:00:00 2001 From: Manuel Polo Date: Thu, 22 Oct 2026 22:47:08 +0000 Subject: [PATCH] ci: read the OpenAPI document from the contract repository by its current name The workflows downloaded openapi.yaml from QTSurfer/qtsurfer.github.io, the former name of the repository of the API contract, which only works through GitHub's redirect from the old name and would stop working if a repository with that name were created. Use QTSurfer/qtsurfer-api. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d72e9d6..b735a1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: # spec cross-check in tests/test_smoke.py skips here and the suite cannot see a spec # operation that generates no module at all — the drift that hid compileStrategy. - name: Fetch openapi.yaml - run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer.github.io/main/openapi.yaml -o openapi.yaml + run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer-api/main/openapi.yaml -o openapi.yaml - name: Pytest run: uv run pytest -v @@ -64,7 +64,7 @@ jobs: run: uv sync --frozen - name: Fetch openapi.yaml - run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer.github.io/main/openapi.yaml -o openapi.yaml + run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer-api/main/openapi.yaml -o openapi.yaml - name: Verify pyproject.toml version matches openapi.yaml run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 72b72ef..1981dfd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,7 +44,7 @@ jobs: fi - name: Fetch openapi.yaml - run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer.github.io/main/openapi.yaml -o openapi.yaml + run: curl -fsSL https://raw.githubusercontent.com/QTSurfer/qtsurfer-api/main/openapi.yaml -o openapi.yaml - name: Build run: uv run python -m build