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@v1
- name: standardrb
uses: SennaLabs/[email protected]
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Default is github-pr-check
rubocop_version: 0.1.6
rubocop_flags: --format progress
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.