Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit 7d0110c

Browse files
author
Aylei
authored
run markdownlint in github actions (#40)
* run markdownlint in github actions Signed-off-by: Aylei <[email protected]> * Revert MD007 Signed-off-by: Aylei <[email protected]> * Disable MD007 for overview.md Signed-off-by: Aylei <[email protected]>
1 parent 6860ee0 commit 7d0110c

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/ci.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ jobs:
1515
uses: actions/checkout@v2
1616
- name: Verify links
1717
run: ./hack/verify-links.sh
18+
- name: Markdown lint
19+
uses: avto-dev/markdown-lint@v1
20+
with:
21+
config: './.markdownlint.yaml'
22+
args: '.'

.markdownlint.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ heading-increment: true
1010
heading-style:
1111
style: atx
1212

13+
# MD007
14+
ul-indent:
15+
indent: 4
16+
1317
# MD009
1418
# no-trailing-spaces: true
1519

1620
# MD010
1721
no-hard-tabs: true
1822

19-
# MD007
20-
ul-indent:
21-
indent: 4
22-
2323
# MD012
2424
no-multiple-blanks: true
2525

en/overview.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ summary: Learn about the Data Migration tool, the architecture, the key componen
44
category: reference
55
---
66

7+
<!-- markdownlint-disable MD007 -->
8+
79
# Data Migration Overview
810

911
[TiDB Data Migration](https://github.com/pingcap/dm) (DM) is an integrated data replication task management platform that supports the full data migration and the incremental data migration from MySQL/MariaDB into TiDB. It can help to reduce the operations cost and simplify the troubleshooting process.

0 commit comments

Comments
 (0)