jmarrec/Rubocop Composite Action

A github composite action (runs natively on the host) that runs rubocop, with an option to auto-correct

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jun 11, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: jmarrec/rubocop-composite-action@6bcffb93b10d2f9f7c160d540652f2cefc2219a7 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
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 action3.2.2
rubocop-versionRubocop version to use. If rubocop is already installed on the runner, then this is skipped1.50.0
autocorrectIf set to true, will run `rubocop --auto-correct` before reporting failuresfalse
commit-auto-correctIf set to true, and autocorrect argument as well, will commit the autocorrected files to the branchfalse
use-bundleIf set to true, will run `bundle exec rubocop` and not just `rubocop`false
namedescription
summaryHigh level info (number of files checked and number of offenses) from rubocop
all_outputHigh level info and all annotations from rubocop
rubocop_was_installedFor testing purposes mostly, see if rubocop was installed by the action (true) or already installed (false)