From a3296ea1b4421ffb0be5722e54816c3a0b019c9c Mon Sep 17 00:00:00 2001 From: Gene Wood Date: Wed, 1 Feb 2023 07:56:44 -0800 Subject: [PATCH] Update action to use features in vale-action reviewdog branch 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 ( https://github.com/errata-ai/vale-action/issues/12 ) Signed-off-by: Gene Wood --- .github/workflows/lint.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0ec9bbd79d..1828192d7a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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}}