Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Sep 13, 2024
1 parent c87b9d8 commit ab9f830
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
tar -xvzf vale.tar.gz
sudo mv vale /usr/local/bin/
- name: Set VALE_CONFIG_PATH
run: echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV
- name: Set environment variables
run: |
echo "HOME=/home/runner" >> $GITHUB_ENV
echo "VALE_CONFIG_PATH=$(pwd)/.vale.ini" >> $GITHUB_ENV
- name: Set up Vale with Reviewdog
uses: errata-ai/vale-action@reviewdog
Expand All @@ -31,6 +33,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
version: 2.17.0
reporter: github-pr-check
env:
HOME: /home/runner
VALE_CONFIG_PATH: $(pwd)/.vale.ini

- name: Get changed files
id: changed-files
Expand Down

0 comments on commit ab9f830

Please sign in to comment.