diff options
-rw-r--r-- | .autocorrectignore | 3 | ||||
-rw-r--r-- | .github/workflows/autocorrect-lint.yml | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.autocorrectignore b/.autocorrectignore new file mode 100644 index 0000000000..9631131a77 --- /dev/null +++ b/.autocorrectignore @@ -0,0 +1,3 @@ +**/* +!files/zh-cn/web/html/**/* + diff --git a/.github/workflows/autocorrect-lint.yml b/.github/workflows/autocorrect-lint.yml new file mode 100644 index 0000000000..876303825b --- /dev/null +++ b/.github/workflows/autocorrect-lint.yml @@ -0,0 +1,16 @@ +name: AutoCorrect Lint + +on: + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: AutoCorrect + uses: huacnlee/autocorrect-action@v1.5.5 |