Commit 22bff94
committed
format_check: properly export changed files
When multiple files change, tj-action/changed-files separates file names
with a space, so the output is ambiguous. Switch to JSON output and use
jq to convert the array to a text file with one file name per line, a
format that is readily usable for clang-format-action.
Signed-off-by: Luca Burelli <[email protected]>1 parent c1fea19 commit 22bff94
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
0 commit comments