From b0e250336c4635cb2ce77df5f943db66d7cc6aac Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Abadal Date: Fri, 4 Sep 2026 15:55:32 +0200 Subject: [PATCH] Export OPENAPI_FILE_NAME so the Go SDK validation uses the fresh FOAS --- .github/workflows/required-spec-validations.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/required-spec-validations.yml b/.github/workflows/required-spec-validations.yml index 5a97d2be49..a3108c44a0 100644 --- a/.github/workflows/required-spec-validations.yml +++ b/.github/workflows/required-spec-validations.yml @@ -58,6 +58,10 @@ jobs: id: go-sdk-validation run: | cp -rf "openapi-foas.yaml" "atlas-sdk-go/openapi/atlas-sdk.yaml" + # Point the SDK generation pipeline at the freshly built FOAS. + # Without this, generate.sh falls back to its default and + # validates the stale atlas-api.yaml committed in the SDK repo. + export OPENAPI_FILE_NAME="atlas-sdk.yaml" pushd atlas-sdk-go make -e openapi-pipeline popd