This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Use get_latest_*_metrics.sh scripts from meta repository #1528
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: Lint Markdown Files | |
| on: [push, pull_request] | |
| jobs: | |
| markdownlint: | |
| name: 'Markdown Lint' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Setup Hugo | |
| uses: peaceiris/actions-hugo@v3 | |
| with: | |
| hugo-version: '0.125.6' | |
| extended: true | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - uses: tj-actions/changed-files@v46 | |
| id: changed-files | |
| with: | |
| files: 'content/**/*.md' | |
| separator: "\n" | |
| - uses: DavidAnson/markdownlint-cli2-action@v19 | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| with: | |
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
| config: '.markdownlint-cli2.yaml' |