File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ jobs:
297
297
with :
298
298
path : /Users/runner/test
299
299
- name : Compare Diff and Post a Report
300
- if : github.event_name == 'pull_request' && ${{ env.METRICS_SERVICE_SECRET }}
300
+ if : github.event.pull_request.merged != true && env.METRICS_SERVICE_SECRET
301
301
env :
302
302
base_commit : ${{ needs.check.outputs.base_commit }}
303
303
run : |
@@ -308,7 +308,7 @@ jobs:
308
308
swift run CoverageReportGenerator --presubmit "firebase/firebase-ios-sdk" --commit "${GITHUB_SHA}" --token $(gcloud auth print-identity-token) --xcresult-dir "/Users/runner/test/codecoverage" --log-link "https://github.com/firebase/firebase-ios-sdk/actions/runs/${GITHUB_RUN_ID}" --pull-request-num ${{github.event.pull_request.number}} --base-commit "$base_commit"
309
309
fi
310
310
- name : Update New Coverage Data
311
- if : github.event.pull_request.merged == true && ${{ env.METRICS_SERVICE_SECRET }}
311
+ if : github.event.pull_request.merged == true && env.METRICS_SERVICE_SECRET
312
312
run : |
313
313
if [ -d "${{steps.download.outputs.download-path}}" ]; then
314
314
cd scripts/code_coverage_report/generate_code_coverage_report
You can’t perform that action at this time.
0 commit comments