This repository has been archived on 2023-10-25 . You can view files and clone it, but cannot push or open issues or pull requests.
fixes #16 fixes #17 Also updates the docs and moves to a smaller ruby image.
Rubocop Linter Action
GitHub Action to run Rubocop against your code and create annotations in the UI.
NOTE: due to the GitHub Check Runs API, we can only return 50 annotations per run. See here for more info.
Usage
Add the following to your GitHub action workflow:
- name: Rubocop Linter
uses: andrewmcodes/rubocop-linter-action@v0.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Example Workflow
name: Rubocop
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Rubocop Linter
uses: andrewmcodes/rubocop-linter-action@v0.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Screenshots
Contributing
Code of Conduct
License
Recognition
This project was originally forked from gimenete/rubocop-action. Many thanks to Alberto Gimeno for creating this project.
Description
Languages
Ruby
71.5%
JavaScript
27.3%
Dockerfile
1.2%

