Update pipelines to include and use pipeline id's instead of workflow names #9975
This file contains hidden or 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: Linting | |
on: [pull_request] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
rubocop: | |
name: runner / rubocop | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: rubocop | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: rubocop | |
uses: reviewdog/action-rubocop@v2 | |
with: | |
reporter: github-pr-check | |
skip_install: true | |
use_bundler: true |