Stable version 2025-09-01 with prevalidation and autoscale changes #16423
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Swagger ModelValidation - Analyze Code" | |
on: | |
pull_request: | |
types: | |
# default | |
- opened | |
- synchronize | |
- reopened | |
# re-run if base branch is changed, since previous merge commit may generate incorrect diff | |
- edited | |
permissions: | |
contents: read | |
jobs: | |
oav: | |
name: "Swagger ModelValidation - Analyze Code" | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node and install deps | |
uses: ./.github/actions/setup-node-install-deps | |
- name: Swagger Model Validation | |
id: swagger-model-validation | |
run: | | |
echo "summary=$GITHUB_STEP_SUMMARY" >> "$GITHUB_OUTPUT" | |
npm exec --no -- oav-runner examples | |
# Used by other workflows like set-status | |
- name: Set job-summary artifact | |
if: ${{ always() && steps.swagger-model-validation.outputs.summary }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: job-summary | |
path: ${{ steps.swagger-model-validation.outputs.summary }} | |
# If the file doesn't exist, just don't add the artifact | |
if-no-files-found: ignore |