Skip to content

Commit

Permalink
chore: fix vale workflow (#4892)
Browse files Browse the repository at this point in the history
* chore: fix vale workflow

* chore: update contributors field

* chore: do fail

Co-authored-by: danez <danez@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 1, 2022
1 parent b98a4de commit 61ba1ef
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,26 @@ on:
pull_request:
branches: [main]

permissions:
checks: write

jobs:
lint-docs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Download styles
run: |
curl -s https://vale-library.netlify.app/styles.zip -o styles.zip
unzip styles.zip -d .github/styles
rm styles.zip
- name: Vale
uses: errata-ai/vale-action@v2.0.1
continue-on-error: true
uses: errata-ai/vale-action@v2
with:
styles: https://vale-library.netlify.app/styles.zip
files: '["docs", "src", "README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]'
onlyAnnotateModifiedLines: true
fail_on_error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

1 comment on commit 61ba1ef

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 230 MB

Please sign in to comment.