jmarrec/Rubocop Composite Action
A github composite action (runs natively on the host) that runs rubocop, with an option to auto-correct
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jun 11, 2025
- License
- MIT
Pinned Snippet
uses: jmarrec/rubocop-composite-action@6bcffb93b10d2f9f7c160d540652f2cefc2219a7 # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ruby-version | (UNUSED CURRENTLY) Ruby version to use, Version range or exact version of a ruby version to use, using SemVer's version range syntax, passed down to setup-ruby action | — | 3.2.2 |
| rubocop-version | Rubocop version to use. If rubocop is already installed on the runner, then this is skipped | — | 1.50.0 |
| autocorrect | If set to true, will run `rubocop --auto-correct` before reporting failures | — | false |
| commit-auto-correct | If set to true, and autocorrect argument as well, will commit the autocorrected files to the branch | — | false |
| use-bundle | If set to true, will run `bundle exec rubocop` and not just `rubocop` | — | false |
Outputs
| name | description |
|---|---|
| summary | High level info (number of files checked and number of offenses) from rubocop |
| all_output | High level info and all annotations from rubocop |
| rubocop_was_installed | For testing purposes mostly, see if rubocop was installed by the action (true) or already installed (false) |