Skip to content

Commit

Permalink
Skip the step of publishing code coverage for the PR from forked repos
Browse files Browse the repository at this point in the history
  • Loading branch information
khiav reoy committed Sep 2, 2023
1 parent 2d02333 commit 224b69f
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 @@ -53,7 +53,7 @@ jobs:
- name: Run tests
run: bundle exec rake
- name: Publish code coverage
if: ${{ success() }}
if: ${{ success() && 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 224b69f

Please sign in to comment.