This action runs standardrb with reviewdog on pull requests to improve code review experience.
name: reviewdog
on: [pull_request]
jobs:
standardrb:
name: runner / standardrb
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: standardrb
uses: PrintReleaf/[email protected]
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Default is github-pr-check
rubocop_flags: --format progress
standard_version: 1.12.1
For now reviewdog is not supporting standardrb formatter but I've already opened a PR and waiting to be merged so instead the workaround is to use --format progress
to make it work with rubocop formatter.