Skip to content

[DOC-9723] Update Terraform page for new plans #12076

[DOC-9723] Update Terraform page for new plans

[DOC-9723] Update Terraform page for new plans #12076

Workflow file for this run

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}}