Skip to content

avo-hq/action-standardrb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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@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

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

About

Run standardrb with reviewdog 🐶

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 60.5%
  • Dockerfile 39.5%