Skip to content

Commit

Permalink
Creating a new file vale.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
DevExpressExampleBot committed Oct 8, 2024
1 parent f7456e5 commit c2feb7c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: vale-validation
on:
pull_request:
paths:
- README.md

jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- name: clone repo
uses: actions/checkout@v4
- name: clone vale-styles repo
uses: actions/checkout@v4
with:
repository: DevExpress/vale-styles
path: vale-styles
ssh-key: ${{ secrets.VALE_STYLES_ACCESS_KEY }}
- name: copy vale rules to the root repo
run: shopt -s dotglob && cp -r ./vale-styles/vale/* .
- name: vale linter check
uses: errata-ai/vale-action@reviewdog
with:
files: README.md
fail_on_error: true

0 comments on commit c2feb7c

Please sign in to comment.