Skip to content

Commit

Permalink
don't attempt to push code coverage for external PR
Browse files Browse the repository at this point in the history
  • Loading branch information
david942j committed Oct 14, 2022
1 parent c2dc84f commit a4c0873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Run tests
run: bundle exec rake
- name: Publish code coverage
if: ${{ success() }}
if: ${{ success() && runner.os == 'Linux' && env.CC_TEST_REPORTER_ID }}
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

0 comments on commit a4c0873

Please sign in to comment.