Skip to content

Commit 55f51ee

Browse files
fix: prevent codecov upload from failing on forks (hiero-ledger#1752)
Signed-off-by: ParasSalonia <parassalonia22@gmail.com> Signed-off-by: Paras Salonia <parassalonia22@gmail.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 14942a3 commit 55f51ee

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pr-check-codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
--cov-report=term-missing
4242
4343
- name: Upload coverage to Codecov
44+
if: github.repository_owner == 'hiero-ledger'
4445
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
4546
with:
4647
token: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
265265
- Refactored SDK dependencies to use version ranges, moved build-only deps out of runtime, removed unused core deps and added optional extras.
266266

267267
### Fixed
268+
- Added a fork guard condition to prevent Codecov upload failures on fork PRs due to missing token. (`#1485`)
268269
- Corrected broken documentation links in SDK developer training files.(#1707)
269270
- Fixed assignment limit check to only count issues (not PRs) towards the maximum 2 concurrent assignments, allowing users to be assigned to PRs without affecting their issue assignment capacity. (#1717)
270271
- Updated Good First Issue recommendations to supported Hiero repositories. (#1689)

0 commit comments

Comments
 (0)