Skip to content

Commit

Permalink
update vale and tj changed files gha (#6665)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Dec 13, 2024
2 parents 6344f8b + 7559282 commit 5ebd946
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
python-version: '3.x'

- name: Install Vale
run: pip install vale==2.27.0 # Install a stable version of Vale
run: pip install vale==3.9.1.0 # Install a stable version of Vale

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v45
with:
files: |
website/**/*.md
Expand Down Expand Up @@ -63,10 +63,9 @@ jobs:
uses: errata-ai/vale-action@reviewdog
with:
token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
reporter: github-pr-review
files: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
separator: ' '
version: '2.27.0'

# - name: Post summary comment
# if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ N/A
pseudocolumn
yml
values=
dbt v\\d+\\.\\d+
v\\d+\\.\\d+
File renamed without changes.
2 changes: 2 additions & 0 deletions styles/custom/Typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ tokens:
- '\w+/\w+|\w+-\w+|n/a'
- 'n/a'
- 'N/A'
- 'dbt v\\d+\\.\\d+'
- 'v\\d+\\.\\d+ '

0 comments on commit 5ebd946

Please sign in to comment.