Skip to content

Commit

Permalink
Update vale worfklow
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSaintarbor committed Apr 10, 2024
1 parent 67753ad commit 771dd62
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
- name: No files changed?
if: steps.changed-markdown-files.outputs.any_changed == 'false'
env:
ALL_CHANGED_FILES: ${{ 0 }}
run: |
echo "No filed changed"
done
- name: Get all changed markdown files
id: changed-markdown-files
uses: tj-actions/changed-files@v42
Expand All @@ -27,13 +34,6 @@ jobs:
echo "$file was changed"
echo "ALL_CHANGED_FILES=$ALL_CHANGED_FILES" >> $GITHUB_ENV
done
- name: No files changed?
if: steps.changed-markdown-files.outputs.any_changed == 'false'
env:
ALL_CHANGED_FILES: ${{ 0 }}
run: |
echo "No filed changed"
done
- uses: errata-ai/vale-action@reviewdog
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit 771dd62

Please sign in to comment.