DOCS-2713: Publish Calico Enterprise 3.22.1 #2722
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: reviewdog | |
| on: [pull_request] | |
| jobs: | |
| vale: | |
| name: runner / vale | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js with Yarn | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Install mdx2vast globally | |
| run: npm install -g mdx2vast | |
| - name: Swap stuff | |
| run: | | |
| sudo apt-get install ripgrep | |
| rg -l0 '\$\[[^\]]*\]' -g '*.mdx' -g '*.md' . | xargs -0 perl -i -pe 's/\$\[[^\]]*\]/PICKLEVAR/g' | |
| - name: Run Vale with Reviewdog | |
| uses: errata-ai/vale-action@reviewdog | |
| with: | |
| fail_on_error: false |