fix(cli): surface docker/sandbox container/dashboard port failure layers in sandbox status #2667
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) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Docs / Link Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, reopened, synchronize] | |
| paths: | |
| - "**/*.md" | |
| - "**/*.mdx" | |
| - ".github/workflows/docs-links-pr.yaml" | |
| - "test/e2e/e2e-cloud-experimental/check-docs.sh" | |
| permissions: | |
| contents: read | |
| jobs: | |
| markdown-links: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Determine changed documentation files | |
| id: changed | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| base="${{ github.event.pull_request.base.sha }}" | |
| head="${{ github.event.pull_request.head.sha }}" | |
| mapfile -t doc_files < <( | |
| git diff --name-only --diff-filter=ACMR "$base" "$head" -- \ | |
| '*.md' \ | |
| '*.mdx' \ | |
| ':(exclude)node_modules/**' \ | |
| ':(exclude)dist/**' \ | |
| ':(exclude)vendor/**' \ | |
| ':(exclude)build/**' \ | |
| | LC_ALL=C sort -u | |
| ) | |
| if [[ "${#doc_files[@]}" -eq 0 ]]; then | |
| echo "has_files=false" >> "$GITHUB_OUTPUT" | |
| exit 0 | |
| fi | |
| echo "has_files=true" >> "$GITHUB_OUTPUT" | |
| { | |
| echo "files<<EOF" | |
| printf '%s\n' "${doc_files[@]}" | |
| echo "EOF" | |
| } >> "$GITHUB_OUTPUT" | |
| - name: Run markdown link checker | |
| if: steps.changed.outputs.has_files == 'true' | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| mapfile -t doc_files <<< "${{ steps.changed.outputs.files }}" | |
| bash test/e2e/e2e-cloud-experimental/check-docs.sh --only-links --local-only "${doc_files[@]}" |