From ced51aa0ec204ec29d6de00625006831a32b8856 Mon Sep 17 00:00:00 2001 From: Mayank Chugh Date: Mon, 20 Mar 2023 12:41:58 +0000 Subject: [PATCH] checking if success() works --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e509e3..9356a56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: run: npm install - name: Can I deploy? + if: (success() && github.event_name == 'pull_request') env: PACT_BROKER_TOKEN: ${{ secrets.PACT_API_TOKEN }} run: |