Skip to content

Commit a938714

Browse files
authored
Don't upload codecov for dependabot runs (#43)
it can't access secret
1 parent 97f8510 commit a938714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/.github/workflows/ci.yaml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
{% endraw %}{% if use_codecov %}{% raw %} - name: Upload coverage to Codecov
6363
# only upload coverage from fastest job
64-
if: matrix.JOB_MATCHING_DEV_ENV == true
64+
if: matrix.JOB_MATCHING_DEV_ENV == true && ${{ github.actor != 'dependabot[bot]' }} # dependabot by default doesn't have access to the necessary secret...and dependabot should never be changing coverage anyway so it's fine not uploading it
6565
uses: codecov/[email protected]
6666
with:
6767
files: ./coverage.xml

0 commit comments

Comments
 (0)