Skip to content

Commit

Permalink
Add a GitHub Actions workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
nunawa committed Jan 4, 2024
1 parent 44bd142 commit 138fe6a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: reviewdog

on: [pull_request]

jobs:
reviewdog:
name: reviewdog
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Prettier Format
uses: reviewdog/action-black@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
- name: ESLint Lint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning

0 comments on commit 138fe6a

Please sign in to comment.