Skip to content

Commit d549b84

Browse files
committed
Skip the step of publishing code coverage for the PR from forked repos
1 parent 9aa7060 commit d549b84

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
@@ -43,7 +43,7 @@ jobs:
4343
- name: Run tests
4444
run: bundle exec rake
4545
- name: Publish code coverage
46-
if: ${{ success() }}
46+
if: ${{ success() && env.CC_TEST_REPORTER_ID }}
4747
uses: paambaati/codeclimate-action@v2.7.5
4848
with:
4949
workingDirectory: ruby

0 commit comments

Comments
 (0)