Skip to content

feat: Github Action to enable Checkstyle #13

feat: Github Action to enable Checkstyle

feat: Github Action to enable Checkstyle #13

name: reviewdog
on:
pull_request:
types:
- opened
- synchronize
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Thank you for contribuite by creating an issue"
pr-message: "Thank you for contribuite with your first pull request"
checkstyle:
name: runner / checkstyle
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: dbelyaev/action-checkstyle@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
checkstyle_config: google_checks.xml
fail_on_error: true