From f45262f3954b899fe04263b8dc004d40279d16a5 Mon Sep 17 00:00:00 2001 From: Gran Luo Date: Wed, 3 Feb 2021 17:22:19 -0800 Subject: [PATCH] Test nees before if. --- .github/workflows/test_coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index 58186359c7a..52c61e1d69f 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -28,9 +28,9 @@ jobs: run: ./scripts/code_coverage_report/get_updated_files.sh pod-lib-lint-database: + needs: check # Don't run on private repo unless it is a PR. if: always() && github.repository == 'Firebase/firebase-ios-sdk' && (needs.check.outputs.database_run_job || github.event.pull_request.merged) - needs: check runs-on: macOS-latest strategy: matrix: @@ -47,9 +47,9 @@ jobs: path: /Users/runner/*.xcresult pod-lib-lint-functions: + needs: check # Don't run on private repo unless it is a PR. if: always() && github.repository == 'Firebase/firebase-ios-sdk' && (needs.check.outputs.functions_run_job || github.event.pull_request.merged) - needs: check runs-on: macOS-latest strategy: matrix: