Skip to content

Commit

Permalink
create git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dricazenck committed Jul 6, 2024
1 parent 76364f2 commit a61c07a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/checkstyle_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
with:
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
reporter: github-pr-review
checkstyle_config: google_checks.xml
fail_on_error: true

0 comments on commit a61c07a

Please sign in to comment.