Skip to content

Update translate call to 2025-10-01-preview #6062

Update translate call to 2025-10-01-preview

Update translate call to 2025-10-01-preview #6062

Workflow file for this run

name: "[TEST-IGNORE] Swagger Avocado - Analyze Code"
on: pull_request
permissions:
contents: read
jobs:
avocado-code:
name: "[TEST-IGNORE] Swagger Avocado - Analyze Code"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
# Must include all branches, for git branch logic in Avocado to work correctly
fetch-depth: 0
- name: Setup Node and install deps
uses: ./.github/actions/setup-node-install-deps
- name: Run Avocado
run: |
npm exec --no -- avocado \
--excludePaths \
"/common-types/" \
"/scenarios/" \
"/package.json" \
"/package-lock.json" \
"/cadl/examples/" \
'(?=/examples/)(?!(?:/stable/|/preview/))' \
--includePaths \
"data-plane" \
"resource-manager"
env:
# Tells Avocado to analyze the files changed between the PR head (default checkout)
# and the PR base branch.
SYSTEM_PULLREQUEST_TARGETBRANCH: ${{ github.event.pull_request.base.ref }}