diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml deleted file mode 100644 index 18ba966c277..00000000000 --- a/.github/workflows/vale.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Vale Linting -on: [pull_request] - -jobs: - lint: - if: false - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Get changed files - id: changed_files - # This is v41.0.0. Hardcoded the commit because the tag was compromised. - uses: tj-actions/changed-files@cc08e170f4447237bcaf8acaacfa615b9cb86612 - - - name: Calculate changed files to pass to Vale - id: calc_changed_files - run: | - beginning='["' - middle=$(echo ${{ steps.changed_files.outputs.all_changed_files }} | sed 's/ /", "/g') - end='"]' - echo "files_to_change=$beginning$middle$end" >> $GITHUB_ENV - - - name: Vale - uses: errata-ai/vale-action@reviewdog - with: - reporter: github-pr-check - filter_mode: added - fail_on_error: false - files: '${{ env.files_to_change }}' - vale_flags: "--no-exit" - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}