diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 1ff82974ce5..0625ed944b2 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -15,6 +15,11 @@ jobs: with: fetch-depth: 0 + - name: Set environment variables + run: | + echo "HOME=/home/runner" >> $GITHUB_ENV + echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV + - name: Set up Vale uses: errata-ai/vale-action@reviewdog with: @@ -23,9 +28,6 @@ jobs: version: 2.17.0 reporter: github-pr-check - - name: Set VALE_CONFIG_PATH - run: echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV - - name: Get changed files id: changed-files run: |