diff options
author | Jason Lee <huacnlee@gmail.com> | 2022-02-16 15:45:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 09:45:06 +0200 |
commit | 2968f00d257b512ac0d046a3fa12e8deec2540fb (patch) | |
tree | 179e3d4afc6b8921922f25539bbd6f2bc02cf316 | |
parent | 0b4638eb8bc775ceb38c1b8b65b9838cae26f618 (diff) | |
download | translated-content-2968f00d257b512ac0d046a3fa12e8deec2540fb.tar.gz translated-content-2968f00d257b512ac0d046a3fa12e8deec2540fb.tar.bz2 translated-content-2968f00d257b512ac0d046a3fa12e8deec2540fb.zip |
Add AutoCorrect-lint GitHub Action and enable on files/zh-cn/web/html (#3490)
-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 |