name: Rubocop check on: pull_request: branches: - "*" push: branches: - master jobs: build: name: RuboCop Action runs-on: ubuntu-latest steps: - name: Checkout Action uses: actions/checkout@v1 - name: Rubocop Linter Action uses: andrewmcodes/rubocop-linter-action@v3.2.0 with: action_config_path: '.github/config/rubocop_linter_action.yml' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}