mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 15:06:59 +08:00
add a bot for eslint on github
This commit is contained in:
12
.github/workflows/reviewdog.yml
vendored
Normal file
12
.github/workflows/reviewdog.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: reviewdog
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
eslint:
|
||||||
|
name: runner / eslint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: reviewdog/action-eslint@v1
|
||||||
|
with:
|
||||||
|
reporter: github-pr-review # Change reporter.
|
||||||
|
eslint_flags: 'src/'
|
Reference in New Issue
Block a user