From a552048e01827e3b1ff72fd0d15c08a041a50f51 Mon Sep 17 00:00:00 2001 From: "Dawid Wyrkowski (Dawqss)" Date: Tue, 22 Oct 2024 14:42:27 +0200 Subject: [PATCH] feat(): add if: github.event.pull_request.merged == true to action --- .github/workflows/check-build-deploy-to-test-users.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check-build-deploy-to-test-users.yml b/.github/workflows/check-build-deploy-to-test-users.yml index f472e03..27cd843 100644 --- a/.github/workflows/check-build-deploy-to-test-users.yml +++ b/.github/workflows/check-build-deploy-to-test-users.yml @@ -7,6 +7,7 @@ on: jobs: tsc: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - name: Checkout code @@ -27,6 +28,7 @@ jobs: run: yarn run lint build-ios: runs-on: macos-latest + needs: [tsc, lint] steps: - name: Checkout code uses: actions/checkout@v4