From 3f3b6b987ba87a7c7b42c27e7d3ac12b5af00e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedrich=20Gro=C3=9Fe?= Date: Tue, 12 Mar 2024 11:20:40 +0100 Subject: [PATCH] Only execute coverage report job on "pull_request" events --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13e2d22..4924b84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI on: pull_request: + types: [opened, reopened, synchronize] push: branches: - 'main' @@ -30,6 +31,7 @@ jobs: code_coverage: name: "Code coverage report" + if: github.event_name == 'pull_request' runs-on: ubuntu-latest needs: unit_tests env: