Add Spaces v1.15.2 release notes #2016
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 content with Vale | |
| on: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| # Allows manual workflow run (must in default branch to work) | |
| workflow_dispatch: | |
| jobs: | |
| lint-content: | |
| runs-on: | |
| group: large-runners | |
| steps: | |
| - name: Checkout the docs repo | |
| uses: actions/checkout@v3 | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@039afcd1024c210363c9d3fc8fd07e1f3fcf2867 # v35.9.3 | |
| with: | |
| files: docs/** | |
| - name: Install Vale | |
| env: | |
| VALE_VERSION: "2.22.0" | |
| run: wget https://github.com/errata-ai/vale/releases/download/v${{env.VALE_VERSION}}/vale_${{env.VALE_VERSION}}_Linux_64-bit.tar.gz && tar -xvzf vale_${{env.VALE_VERSION}}_Linux_64-bit.tar.gz | |
| - name: Run Vale | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| run: | | |
| ./vale --config="./utils/vale/.vale.ini" ${{ steps.changed-files.outputs.all_changed_files }} --glob='!*/dmca.md' | |
| ./vale --config="./utils/vale/.vale.ini" --minAlertLevel=error ${{ steps.changed-files.outputs.all_changed_files }} --glob='!*/dmca.md' |