File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ jobs:
263
263
with :
264
264
fetch-depth : 0
265
265
- name : Access to Metrics Service
266
- if : ${{ env.METRICS_SERVICE_SECRET }} && (github.event.action != 'closed' || github.event.pull_request.merged)
266
+ if : ${{ env.METRICS_SERVICE_SECRET != '' }} && (github.event.action != 'closed' || github.event.pull_request.merged)
267
267
run : |
268
268
# Install gcloud sdk
269
269
curl https://sdk.cloud.google.com > install.sh
@@ -280,7 +280,7 @@ jobs:
280
280
with :
281
281
path : /Users/runner/test
282
282
- name : Compare Diff and Post a Report
283
- if : github.event.pull_request.merged != true && github.event.action != 'closed' && env.METRICS_SERVICE_SECRET
283
+ if : github.event.pull_request.merged != true && github.event.action != 'closed' && env.METRICS_SERVICE_SECRET != ''
284
284
env :
285
285
base_commit : ${{ needs.check.outputs.base_commit }}
286
286
run : |
@@ -316,7 +316,7 @@ jobs:
316
316
bundle exec ruby post_incremental_coverage_in_pr.rb
317
317
fi
318
318
- name : Update New Coverage Data
319
- if : github.event.pull_request.merged && env.METRICS_SERVICE_SECRET
319
+ if : github.event.pull_request.merged && env.METRICS_SERVICE_SECRET != ''
320
320
run : |
321
321
if [ -d "${{steps.download.outputs.download-path}}" ]; then
322
322
cd scripts/code_coverage_report/generate_code_coverage_report
You can’t perform that action at this time.
0 commit comments