From 91e540b3d93a776231bbf467a8bd7ff87207ee03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Jul 2026 13:13:59 +0000 Subject: [PATCH 1/2] Initial plan From 3164a38d2dbfff299123962eb4dceaba2ee75fc0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Jul 2026 13:19:54 +0000 Subject: [PATCH 2/2] fix(ci): use repo spectral version in required validations --- .github/workflows/required-spec-validations.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/required-spec-validations.yml b/.github/workflows/required-spec-validations.yml index ac02752e67..172d088aec 100644 --- a/.github/workflows/required-spec-validations.yml +++ b/.github/workflows/required-spec-validations.yml @@ -35,11 +35,9 @@ jobs: name: openapi-foas-${{ inputs.env }} github-token: ${{ secrets.api_bot_pat }} run-id: ${{ github.run_id }} - - name: Run + - name: Run id: spectral-validation - env: - SPECTRAL_VERSION: ${{ inputs.spectral_version }} - run: npx -- @stoplight/spectral-cli@"${SPECTRAL_VERSION}" lint openapi-foas.yaml --ruleset=tools/spectral/.spectral.yaml + run: npx spectral lint openapi-foas.yaml --ruleset=tools/spectral/.spectral.yaml - name: Install Go uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: