File tree Expand file tree Collapse file tree 4 files changed +1644
-0
lines changed
Workloads-Specific/DataScience/AI_integration Expand file tree Collapse file tree 4 files changed +1644
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "default" : true ,
3+ "MD013" : false ,
4+ "MD033" : false
5+ }
Original file line number Diff line number Diff line change 1+ name : Validate and Fix Markdown
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+
11+ permissions :
12+ contents : write
13+
14+ jobs :
15+ validate-and-fix-markdown :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Set up Node.js
25+ uses : actions/setup-node@v3
26+ with :
27+ node-version : ' 16'
28+
29+ - name : Install Markdown Linter
30+ run : npm install -g markdownlint-cli
31+
32+ - name : Lint and Fix Markdown files
33+ run : markdownlint '**/*.md' --fix --config .github/.markdownlint.json
34+
35+ - name : Configure Git
36+ run : |
37+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
38+ git config --global user.name "github-actions[bot]"
39+
40+ - name : Commit changes
41+ run : |
42+ git add -A
43+ git commit -m "Fix Markdown syntax issues" || echo "No changes to commit"
44+ git push origin HEAD:${{ github.event.pull_request.head.ref }}
You can’t perform that action at this time.
0 commit comments