Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 861 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 861 Bytes

GitHub Action: Run Standard Ruby and Standard Rails with reviewdog 🐶

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

Example usage

name: Lint

on: pull_request

jobs:
  standardrb:
    name: Standard Ruby
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v3
      - name: standardrb
        uses: smile-io/action-standardrb@master
        with:
          github_token: ${{ secrets.github_token }}
          standard_version: 1.36.0
          standard_rails_version: 1.0.2

Examples

Screenshot with reviewdog comments for Standard Ruby lint errors

License

MIT