Skip to content

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

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

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

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 "::set-output name=files::$(git diff --diff-filter=AM --name-only ${{ github.event.pull_request.base.sha }})"
- name: AutoCorrect
uses: huacnlee/autocorrect-action@v2
with:
args: --lint --no-diff-bg-color ${{ steps.changed_files.outputs.files }}