From c9d886f1bc34a4036a96503a71a87eb156e36742 Mon Sep 17 00:00:00 2001 From: Martin Kozlovsky Date: Tue, 19 Dec 2023 21:45:26 +0100 Subject: [PATCH] generate report only on pull request --- .github/workflows/luxonis-ml-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/luxonis-ml-ci.yaml b/.github/workflows/luxonis-ml-ci.yaml index 9f249d13..47f2b2d1 100644 --- a/.github/workflows/luxonis-ml-ci.yaml +++ b/.github/workflows/luxonis-ml-ci.yaml @@ -92,7 +92,7 @@ jobs: - name: Generate coverage report uses: orgoro/coverage@v3.1 - if: matrix.os == ${{ needs.setup.outputs.os-default }} && matrix.python-version == ${{ needs.setup.outputs.python-default }} + if: matrix.os == ${{ needs.setup.outputs.os-default }} && matrix.python-version == ${{ needs.setup.outputs.python-default }} && github.event_name == 'pull_request' with: coverageFile: coverage.xml token: ${{ secrets.GITHUB_TOKEN }}