Skip to content

Rachet vale against changes #823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/vale-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history to compare changes

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: content/**/*.md # Only check markdown files in the content directory

- uses: errata-ai/[email protected]
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: true
token: ${{secrets.GITHUB_TOKEN}}
files: ./content
files: ${{ steps.changed-files.outputs.all_changed_files }}