opensearch-docs-cn/.github/workflows/vale.yml

22 lines
463 B
YAML

name: Style check
on:
pull_request:
workflow_dispatch:
jobs:
style-job:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Run Vale
uses: errata-ai/vale-action@reviewdog
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
fail_on_error: false
reporter: github-pr-check
filter_mode: added
vale_flags: "--no-exit"