Skip to content

Commit

Permalink
build.yml: Stop Codecov from failing on forks
Browse files Browse the repository at this point in the history
Symptom was (with line breaks added):
> Codecov: Failed to properly create commit: The process
> '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov'
> failed with exit code 1
  • Loading branch information
hartwork authored and jrfonseca committed Jun 6, 2024
1 parent fec2e0a commit c991097
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
pip install coverage
- run: python tests/test.py --coverage
- uses: codecov/codecov-action@v4
if: github.repository == 'jrfonseca/gprof2dot'
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down

0 comments on commit c991097

Please sign in to comment.