From beb982dd82439cde51701ba5d5f4ce11855a5e26 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Fri, 27 Feb 2026 14:33:59 +0200 Subject: [PATCH] ci: PR CI should throw errors on voice v4, not v8 --- .github/workflows/validate-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-pull-request.yml b/.github/workflows/validate-pull-request.yml index aa687790..9636e5df 100644 --- a/.github/workflows/validate-pull-request.yml +++ b/.github/workflows/validate-pull-request.yml @@ -33,7 +33,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - PATTERNS="gateway/v6.ts|gateway/v8.ts|payloads/v6/|payloads/v8/|rest/v6/|rest/v8/|rpc/v8.ts|utils/v8.ts|voice/v8.ts|^v6.ts$|^v8.ts$" + PATTERNS="gateway/v6.ts|gateway/v8.ts|payloads/v6/|payloads/v8/|rest/v6/|rest/v8/|rpc/v8.ts|utils/v8.ts|voice/v4.ts|^v6.ts$|^v8.ts$" if gh pr view ${{ github.event.pull_request.number }} --repo ${{github.repository}} --json files --jq ".files[].path | select(test(\"$PATTERNS\"))" | grep -q .; then echo "::error::Unsupported API versions modified. Please make changes to current API versions only."