Skip to content

Commit cf630cf

Browse files
committed
.github/top-level: tune vale echo
Don't show the file in the annotation, but one line before. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
1 parent 39dd4f6 commit cf630cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/top-level.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
echo "$file"
6565
vale --config=.github/styles/$1 --output=JSON $file | \
6666
jq -r 'to_entries[] | .key as $file | .value[] |
67-
"::\(.Severity) file=\($file),line=\(.Line),col=\(.Span[0])::vale:\(.Check):\($file):\(.Line):\(.Span[0]) \(.Message)"'
67+
"\($file):\(.Line):\(.Span[0])\n::\(.Severity) file=\($file),line=\(.Line),col=\(.Span[0])::vale:\(.Check):\(.Span[0]) \(.Message)"'
6868
done <<< "$files"
6969
}
7070

0 commit comments

Comments
 (0)