Skip to content

Commit 684e84f

Browse files
committed
github actions
1 parent 59aac29 commit 684e84f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/review.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PR Review Bot
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v4
14+
with:
15+
node-version: 18
16+
- run: pnpm install
17+
- run: pnpm run lint
18+
- uses: reviewdog/action-eslint@v1
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
reporter: github-pr-review

0 commit comments

Comments
 (0)