Skip to content

Commit bc75bf0

Browse files
committed
ci: skip codacy-coverage-reporter step for forks
1 parent 337356d commit bc75bf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
- name: Run codacy-coverage-reporter
7676
# bad Windows -- https://github.com/codacy/codacy-coverage-reporter-action/issues/91
77-
if: ${{ matrix.os != 'windows-latest' }}
77+
if: ${{ !github.event.pull_request.head.repo.fork && matrix.os != 'windows-latest' }}
7878
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
7979
with:
8080
api-token: ${{ secrets.CODACY_API_TOKEN }}

0 commit comments

Comments
 (0)