We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9ef27 commit 25453f8Copy full SHA for 25453f8
.github/workflows/build.yml
@@ -25,7 +25,10 @@ jobs:
25
files: "${{ env.COVERAGE_REPORT_PATH }}"
26
fail_ci_if_error: true
27
- name: Upload coverage to codecov (with token)
28
- if: "! github.event.pull_request.head.repo.fork "
+ if: >
29
+ github.repository == 'TheAlgorithms/Java' &&
30
+ (github.event_name != 'pull_request' ||
31
+ github.event.pull_request.head.repo.full_name == github.repository)
32
uses: codecov/codecov-action@v4
33
with:
34
token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments