Skip to content

feat: Github Action to enable Checkstyle #33

feat: Github Action to enable Checkstyle

feat: Github Action to enable Checkstyle #33

name: reviewdog
on:
pull_request:
types:
- opened
- synchronize
jobs:
checkstyle:
name: runner / checkstyle
runs-on: ubuntu-latest
env:
$REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.CHECSTYLE_TOKEN }}
permissions:
contents: write
pull-requests: write
checks: write
actions: write
steps:
- uses: actions/checkout@v4
- uses: dbelyaev/action-checkstyle@master
with:
github_token: ${{ secrets.CHECSTYLE_TOKEN }}
reporter: github-pr-review
checkstyle_config: google_checks.xml
fail_on_error: true