fix(llm-api-gateway): enforce model uris allowlist on all routes #1897
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
| # SPDX-FileCopyrightText: Copyright (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: build-test | |
| on: | |
| push: | |
| branches: [main, 'release-**'] | |
| pull_request: | |
| branches: [main, 'release-**'] | |
| merge_group: | |
| types: [checks_requested] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: build-test-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs: | |
| name: docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: tools/go-toolchain/go.mod | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - name: Run docs validation | |
| run: ./tools/ci/check-docs | |
| go-lib-codegen: | |
| name: go-lib codegen | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: tools/go-toolchain/go.mod | |
| - name: Run go-lib codegen freshness check | |
| run: ./tools/ci/check-go-codegen src/libraries/go/lib --install k8s.io/code-generator/cmd/deepcopy-gen@v0.34.2 --command 'make codegen-update' | |
| github-release-helper: | |
| name: GitHub release helper | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Run release helper tests | |
| run: python3 tools/ci/test-github-release.py | |
| - name: Check Go toolchain declarations agree | |
| run: tools/ci/check-go-version | |
| - name: Check nested Bazel module inventory | |
| run: | | |
| bash tools/ci/test-check-nested-modules | |
| bash tools/ci/check-nested-modules | |
| - name: Check BUILD files match their sources | |
| run: | | |
| bash tools/ci/test-check-gazelle | |
| bash tools/ci/check-gazelle |