Skip to content

Commit 0543c39

Browse files
committed
(maint) only upload codecov if secret is set
1 parent 2a8f96d commit 0543c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gem_ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
if: |
7474
contains(inputs.rake_task, 'coverage') &&
7575
inputs.runs_on == 'ubuntu-latest' &&
76-
inputs.ruby_version == '3.2'
76+
inputs.ruby_version == '3.2' &&
77+
secrets.CODECOV_TOKEN
7778
uses: codecov/codecov-action@v4
7879
with:
7980
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)