Skip to content

Commit 78dca72

Browse files
Skip upload coverage on forked repos (#217)
Co-authored-by: Jens Reinecke <[email protected]>
1 parent 635b0e9 commit 78dca72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
cache: 'yarn'
3131

3232
- name: Set version
33+
if: github.repository_owner == 'Open-CMSIS-Pack'
3334
run: |
3435
case ${{ github.event_name }} in
3536
release)
@@ -88,6 +89,7 @@ jobs:
8889
git push
8990
9091
- name: Publish coverage report to Code Climate
92+
if: github.repository_owner == 'Open-CMSIS-Pack'
9193
uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 # v9.0.0
9294
env:
9395
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}

0 commit comments

Comments
 (0)