Skip to content

Commit

Permalink
[skip preview] Fixed vale check
Browse files Browse the repository at this point in the history
  • Loading branch information
nastena1606 committed Oct 29, 2024
1 parent 3032962 commit 8289170
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 55 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0

#Configure git
- name: Configure git
env:
Expand All @@ -24,28 +25,13 @@ jobs:
git config user.email "[email protected]"
git config user.password "${ROBOT_TOKEN}"
echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
#Check spelling
- name: Spell check
uses: tj-actions/changed-files@v35
id: changed-files
with:
files: docs/*.md
- uses: DavidAnson/markdownlint-cli2-action@v10
continue-on-error: true
if: steps.changed-files.outputs.any_changed == 'true'
with:
command: config
globs: |
.markdownlint-cli2.yaml
${{ steps.changed-files.outputs.all_changed_files }}
# separator: ","
#Run check
- name: reviewdog
uses: errata-ai/vale-action@reviewdog
with:
vale_flags: "--glob=*.md"
files: docs/*/*.md
vale_flags: "--config=.vale.ini"
# fail_on_error: true
reporter: github-check
env:
Expand Down
3 changes: 1 addition & 2 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = styles
StylesPath = .github/styles

MinAlertLevel = suggestion

Expand All @@ -12,4 +12,3 @@ Vocab = Percona
BasedOnStyles = Vale, Google

Vale.Terms = NO

34 changes: 0 additions & 34 deletions styles/Vocab/Percona/accept.txt

This file was deleted.

0 comments on commit 8289170

Please sign in to comment.