File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v4
17+ - name : Write git diff to temp file
18+ run : |
19+ git fetch origin
20+ git diff origin/${{ github.base_ref }} --unified=0 *.md translations/*/*.md \
21+ > ${{ runner.temp }}/diff.md
1722 - uses : DavidAnson/markdownlint-cli2-action@v17
23+ with :
24+ globs : " ${{ runner.temp }}/diff.md"
Original file line number Diff line number Diff line change 1- # MD013/line-length
21MD013 :
32 line_length : 120
43
@@ -13,3 +12,6 @@ MD033: false
1312
1413# no-inline-html : Bare URL used (site should be attributed transparently, because otherwise we have to un-necesarily explain where the link directs)
1514MD034 : false
15+
16+ # first-line-h1 : First line in a file should be a top-level heading (Ignore because diff file will never have valid heading)
17+ MD041 : false
You can’t perform that action at this time.
0 commit comments