Add GitHub Models retirement banners and legacy labeling (#494) #169
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: Markdown Linting | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.md' | |
| - '!src/**/*.md' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**.md' | |
| - '!src/**/*.md' | |
| workflow_dispatch: | |
| jobs: | |
| markdown-lint: | |
| name: Lint Markdown Files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install markdownlint-cli | |
| run: npm install -g markdownlint-cli | |
| - name: Run markdownlint | |
| run: markdownlint '**/*.md' --ignore 'node_modules' --ignore 'src' --ignore '**/bin/**' --ignore '**/obj/**' --ignore '**/lib/**' --ignore '**/GenAiLab/**' |