Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1013 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 1013 Bytes

GitHub Action: Run standardrb with reviewdog 🐶

This action runs standardrb with reviewdog on pull requests to improve code review experience.

Example usage

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

Note

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.

License

MIT