Create Pod-logs-metrics #1032
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: Validate Tooltip Imports | |
| # "Check tooltip imports" is a required status check on main, so this workflow | |
| # must run on every PR. Do not add a paths filter: a filtered-out run leaves the | |
| # required check stuck in "expected" and blocks merging (e.g. docs.json-only PRs). | |
| # The validate script scans all .mdx files in ~0.1s, so unconditional runs are cheap. | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| validate-tooltips: | |
| name: Check tooltip imports | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Validate tooltip imports | |
| run: node scripts/validate-tooltips.js | |
| - name: Validate redirect source files | |
| run: node scripts/validate-redirect-sources.js |