-
Notifications
You must be signed in to change notification settings - Fork 79
42 lines (35 loc) · 1002 Bytes
/
vale.yml
File metadata and controls
42 lines (35 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: "vale"
on: [pull_request]
defaults:
run:
shell: bash
jobs:
vale:
name: vale
runs-on: ubuntu-latest
container:
image: ghcr.io/staticrocket/processor-sdk-doc:latest
options: --entrypoint /bin/bash
steps:
- name: Prepare GitHub workdir
run: |
mkdir -p /github/home/
- name: Checkout repository
uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v46
with:
json: true
escape_json: false
files: |
**.rst
**.md
- name: Run vale checks on modified files
uses: StaticRocket/vale-action@d377866f2e3305ae80ef6ce6516370a7ec4ea55a
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: false # to be changed when upstream addresses 84
files: ${{ steps.changed-files.outputs.all_changed_files }}
version: none