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
khiav223577 committed Sep 2, 2023
1 parent 8009812 commit 57572b6
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/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

0 comments on commit 57572b6

Please sign in to comment.