Skip to content

Commit 30c0c44

Browse files
committed
ci(vale): limit to changed files only
Try to speed things up. Signed-off-by: Randolph Sapp <rs@ti.com>
1 parent 5eee450 commit 30c0c44

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/vale.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,19 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15+
- name: Get changed files
16+
id: changed-files
17+
uses: tj-actions/changed-files@v46
18+
with:
19+
files: |
20+
**.rst
21+
**.md
22+
1523
- name: Install docutils
1624
run: sudo apt-get install -y docutils
1725

1826
- name: Run vale checks
1927
uses: errata-ai/vale-action@v2.1.1
2028
with:
2129
fail_on_error: true
30+
files: ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)