Link LDR on the Data Resilience page #13493
Workflow file for this run
This file contains 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: 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 | |
uses: tj-actions/[email protected] | |
- 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}} |