Skip to content

Commit ae6ebb4

Browse files
authoredFeb 21, 2024
Move document-lint from circleci to github-actions (#3345)
Move document-lint from circleci to github-actions. Adjust document according to markdownlint-cli rules.
1 parent 03fe33e commit ae6ebb4

File tree

42 files changed

+85
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+85
-104
lines changed
 

‎.circleci/config.yml

-41
This file was deleted.

‎.github/workflows/document-lint.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: document-lint
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
pull_request:
8+
branches:
9+
- master
10+
- "1.8"
11+
- "2.0"
12+
13+
jobs:
14+
document-lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- run: npm install -g markdownlint-cli
21+
22+
- name: use markdownlint-cli to lint markdown file
23+
run: |
24+
find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | \
25+
xargs markdownlint --disable MD010 MD013 MD024 MD029 MD033 MD036 --

0 commit comments

Comments
 (0)