From b8a76429d1db8b6b483dca142c030054fa044c32 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Dec 2021 13:09:30 +0100 Subject: [PATCH] only run if successfull --- .github/workflows/coverage.yaml | 1 + .github/workflows/postgresql.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index c5873490e9..99d036a485 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -14,6 +14,7 @@ jobs: # These tests are used for code coverage analysis coverage: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/postgresql.yaml b/.github/workflows/postgresql.yaml index d70c39e263..b049b60300 100644 --- a/.github/workflows/postgresql.yaml +++ b/.github/workflows/postgresql.yaml @@ -12,6 +12,7 @@ jobs: test: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} env: # Database backend configuration