mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-09 00:43:59 +08:00
Add AutoCorrect Lint on CI.
This commit is contained in:
parent
483ea9f308
commit
edad745be5
2
.autocorrectrc
Normal file
2
.autocorrectrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
rules:
|
||||||
|
no-space-fullwidth-quote: 0
|
14
.github/workflows/autocorrect.yml
vendored
Normal file
14
.github/workflows/autocorrect.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: AutoCorrect
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
autocorrect:
|
||||||
|
name: AutoCorrect Lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
uses: huacnlee/autocorrect-action@v2.5.8
|
Loading…
Reference in New Issue
Block a user