Skip to content

Avoid failing call to /api/model-index (#37284) #1

Avoid failing call to /api/model-index (#37284)

Avoid failing call to /api/model-index (#37284) #1

Workflow file for this run

name: YAML
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
files-changed:
name: Check which files changed
runs-on: ubuntu-22.04
timeout-minutes: 3
outputs:
yaml: ${{ steps.changes.outputs.yaml }}
steps:
- uses: actions/checkout@v3
- name: Test which files changed
uses: dorny/[email protected]
id: changes
with:
token: ${{ github.token }}
filters: .github/file-paths.yaml
yaml-linter:
runs-on: ubuntu-22.04
if: needs.files-changed.outputs.yaml == 'true'
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- run: yarn run lint-yaml