Skip to content

Commit

Permalink
Add option of setting BUNDLE_GITHUB__COM secret
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbot committed Jan 10, 2025
1 parent 10a6cb5 commit 5cdb960
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Run RuboCop

on:
workflow_call:
secrets:
BUNDLE_GITHUB__COM:
required: false

jobs:
run-rubocop:
Expand All @@ -16,6 +19,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
env:
BUNDLE_GITHUB__COM: "x-access-token:${{ secrets.BUNDLE_GITHUB__COM }}"

- name: Run RuboCop
run: bundle exec rubocop --parallel --format github --format progress

0 comments on commit 5cdb960

Please sign in to comment.