Skip to content

Commit

Permalink
Update action to use features in vale-action reviewdog branch
Browse files Browse the repository at this point in the history
In the current version of vale-action the featurs are different

1. There's no need to indicate where the CONFIG file is as .vale.ini is in the correct location by default

2. This new version no longer supports the `__onlyModified` flag so I've removed it. This does mean that the vale check will now check the whole repo. If this is a problem then we'll want to go back to the older version and live with the `Unable to create annotations; printing Vale alerts instead.` error ( errata-ai/vale-action#12 )

Signed-off-by: Gene Wood <[email protected]>
  • Loading branch information
gene1wood committed Feb 1, 2023
1 parent 10e8eaf commit a3296ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
path: tools/vale/chef
token: "${{ secrets.GITHUB_TOKEN }}"
- uses: errata-ai/vale-action@reviewdog
with:
config: https://raw.githubusercontent.com/chef/chef-web-docs/main/.vale.ini
files: __onlyModified
env:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit a3296ea

Please sign in to comment.