[#55488] 14.2 Documentation: Configure which projects are activated f… #12677
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rubocop | |
on: | |
pull_request: | |
jobs: | |
rubocop: | |
name: rubocop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 # we are comparing PR merge head with base | |
- uses: ruby/setup-ruby@v1 | |
- uses: opf/action-rubocop@master | |
with: | |
github_token: ${{ secrets.github_token }} | |
rubocop_version: gemfile | |
rubocop_extensions: rubocop-inflector:gemfile rubocop-performance:gemfile rubocop-rails:gemfile rubocop-rspec:gemfile | |
reporter: github-pr-check | |
only_changed: true |