Skip to content

Commit

Permalink
Update vale github action (#4164)
Browse files Browse the repository at this point in the history
* Update vale github action

Signed-off-by: Ian Maddaus <[email protected]>

* only modified files

Signed-off-by: Ian Maddaus <[email protected]>

* filter_mode

Signed-off-by: Ian Maddaus <[email protected]>

* diff_context

Signed-off-by: Ian Maddaus <[email protected]>

---------

Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd authored Aug 23, 2023
1 parent a142c8f commit e41d870
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,11 @@ jobs:
!content/resources/_index.md
!content/habitat/
!infra_resources_readme.md
stylelint:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- name: "Download vale-chef"
uses: Legion2/[email protected]
with:
repository: chef/vale-chef
tag: 'v0.2.4'
path: tools/vale/chef
token: "${{ secrets.GITHUB_TOKEN }}"
- uses: errata-ai/vale-action@v1
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
with:
config: https://raw.githubusercontent.com/chef/chef-web-docs/main/.vale.ini
files: __onlyModified
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

filter_mode: diff_context

0 comments on commit e41d870

Please sign in to comment.