Skip to content

Commit

Permalink
Merge pull request #251 from gopasspw/fix-unprivileged-prs
Browse files Browse the repository at this point in the history
Skip codecov upload for PRs from forks
  • Loading branch information
Pharb authored Sep 8, 2024
2 parents c9d4257 + eb820b8 commit 58e6266
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- name: Upload coverage to Codecov
# Docs: https://github.com/marketplace/actions/codecov
uses: codecov/codecov-action@v4
if: ${{ env.CODECOV_TOKEN != '' }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 58e6266

Please sign in to comment.