We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7bc474 + 905d282 commit 04d67d5Copy full SHA for 04d67d5
.github/workflows/build.yml
@@ -317,9 +317,12 @@ jobs:
317
env:
318
RUST_LOG: spin=trace
319
320
+ # Only attempt to upload to codecov.io if the repo owner is fermyon.
321
+ # This allows forks to run CI on their own main branches as usual,
322
+ # without needing to have a codecov token for uploading.
323
- name: Upload to codecov.io
324
uses: codecov/codecov-action@v3
- if: ${{ github.ref == 'refs/heads/main' }}
325
+ if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'fermyon' }}
326
with:
327
fail_ci_if_error: true
328
verbose: true
0 commit comments