Skip to content

Commit ab7d350

Browse files
committed
Skip the step of publishing code coverage for the PR from forked repos
1 parent a5e59da commit ab7d350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Run tests
4040
run: bundle exec rake
4141
- name: Publish code coverage
42-
if: ${{ success() }}
42+
if: ${{ success() && env.CC_TEST_REPORTER_ID }}
4343
uses: paambaati/[email protected]
4444
env:
4545
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

0 commit comments

Comments
 (0)