Skip to content

style: 按中文文案排版指北规范行文, 为AutoCorrect插件补充nolint标记 #6

style: 按中文文案排版指北规范行文, 为AutoCorrect插件补充nolint标记

style: 按中文文案排版指北规范行文, 为AutoCorrect插件补充nolint标记 #6

Workflow file for this run

name: auto-correct
on:
pull_request:
jobs:
auto-correct:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Get changed files
# id: changed_files
# run: echo "files=$(git diff --diff-filter=AM --name-only ${{ github.event.pull_request.base.sha }})" >> $GITHUB_OUTPUT
- name: AutoCorrect
uses: huacnlee/autocorrect-action@v2
with:
# args: --lint --no-diff-bg-color ${{ steps.changed_files.outputs.files }}
args: --lint --no-diff-bg-color --config .autocorrectrc -- .