Skip to content

Commit 3911a0d

Browse files
CopilotNugine
andcommitted
Add conditional check for Codecov upload step
Co-authored-by: Nugine <30099658+Nugine@users.noreply.github.com>
1 parent ed025a2 commit 3911a0d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Generate coverage
2323
run: cargo llvm-cov --all-features --lcov --output-path lcov.info
2424
- name: Upload coverage reports
25+
if: ${{ github.repository == 'Nugine/const-str' && secrets.CODECOV_TOKEN != '' }}
2526
uses: codecov/codecov-action@v4
2627
with:
2728
files: lcov.info

0 commit comments

Comments
 (0)