From 469699a1b53b9207df7a7d2b5d56dd966a2c6f81 Mon Sep 17 00:00:00 2001 From: Ed Fricker Date: Fri, 8 May 2026 12:12:49 +0100 Subject: [PATCH] fix(ci): drop bundle and verify-bundled steps `redocly bundle specs/v3/*.yaml -o bundled/openapi-v3.yaml` treats the output path as a directory when given multiple input files, producing one bundled file per input (e.g. `bundled/openapi-v3.yaml/v3-token.yaml`). Spectral then fails to find `bundled/openapi-v3.yaml` as a single file: No files found to lint The bundle was originally wired up assuming one combined API spec, but `specs/v3/` contains multiple independent specs (one per API) that can't sensibly be merged into a single document. The Lint step already validates each spec individually, so the bundle and verify-bundled steps add no value here. Drop both steps. If a published bundle is needed later it can be a separate publish workflow. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/validate.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 2aefe6f..ce83a0c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -23,9 +23,3 @@ jobs: - name: Lint OpenAPI specs with Spectral run: npx --yes @stoplight/spectral-cli@^6.14.0 lint specs/v3/*.yaml --fail-severity error - - - name: Bundle OpenAPI specs - run: npx --yes @redocly/cli@^1.28.0 bundle specs/v3/*.yaml -o bundled/openapi-v3.yaml - - - name: Verify bundled spec is valid - run: npx --yes @stoplight/spectral-cli@^6.14.0 lint bundled/openapi-v3.yaml --fail-severity error