Files
OpenSearch-Docs-Cn/.github/workflows/vale.yml
T
kolchfa-awsandNathan Bower c9da6c07ad Add style workflow (#3909)
* Tweak rules

Signed-off-by: Fanit Kolchina <[email protected]>

* Rule changes

Signed-off-by: Fanit Kolchina <[email protected]>

* Remove the following and simple

Signed-off-by: Fanit Kolchina <[email protected]>

* Revised rules and added tests

Signed-off-by: Fanit Kolchina <[email protected]>

* Soft rollout with only spelling and terms

Signed-off-by: Fanit Kolchina <[email protected]>

* Add Vale to readme

Signed-off-by: Fanit Kolchina <[email protected]>

* Only lint modified and added files

Signed-off-by: Fanit Kolchina <[email protected]>

* Remove run on workflow dispatch

Signed-off-by: Fanit Kolchina <[email protected]>

* Removed only added and modified files

Signed-off-by: Fanit Kolchina <[email protected]>

* Added please

Signed-off-by: Fanit Kolchina <[email protected]>

* Changed min alert level to warning

Signed-off-by: Fanit Kolchina <[email protected]>

* Don't fail on error and minor changes

Signed-off-by: Fanit Kolchina <[email protected]>

* Remove fail on error

Signed-off-by: Fanit Kolchina <[email protected]>

* Attempt to have vale not fail

Signed-off-by: Fanit Kolchina <[email protected]>

* Fixed links

Signed-off-by: Fanit Kolchina <[email protected]>

* Update README.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Update README.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
2023-05-03 12:34:05 -04:00

22 lines
462 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: file
vale_flags: "--no-exit"