Compare commits

...

3 Commits

Author SHA1 Message Date
Aidan Delaney d882a07f97
Merge ee5fd47bbe into 522552f1d0 2025-04-10 16:52:32 +09:00
Aidan Delaney ee5fd47bbe
Merge branch 'main' into feature/ratchet-vale 2025-04-10 08:51:08 +01:00
adelaney21 4bf460de63 Rachet vale against changes
Only include those files that the developer has changed in the
vale lint.  This will remove the need to fix _all_ the problems in
content on every commit.

Signed-off-by: adelaney21 <adelaney21@bloomberg.net>
2025-04-10 08:50:11 +01:00
1 changed files with 11 additions and 1 deletions

View File

@ -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/vale-action@v2.1.1
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 }}