Skip to content

风格: 统一代码风格配置 #57

风格: 统一代码风格配置

风格: 统一代码风格配置 #57

Workflow file for this run

name: lint markdown
on: [push, pull_request]
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set node version
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Lint markdown
run: npm run md-fix
- name: Lint zh_CN
run: npm run zh-fix
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_options: '--no-verify'
commit_message: Fix markdown
file_pattern: '*.md */*.md */*/*.md'