Skip to content

Commit 52b92d5

Browse files
author
xihale
committed
feat(ci): add AutoCorrect-CI for pull request stream
1 parent dc88a5a commit 52b92d5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/autocorrect.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: AutoCorrect CI
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
autocorrect:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check source code
12+
uses: actions/checkout@v4
13+
14+
- name: AutoCorrect
15+
uses: huacnlee/autocorrect-action@v2
16+
17+
- name: Review Dog
18+
if: failure()
19+
uses: huacnlee/autocorrect-action@main
20+
env:
21+
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
reviewdog: true

0 commit comments

Comments
 (0)