From 38223355bf220ba18b7f340b5dba8e041dc1c431 Mon Sep 17 00:00:00 2001 From: stdavis Date: Fri, 27 Sep 2024 14:35:25 -0600 Subject: [PATCH] ci: don't deploy to preview for PRs that originate from dev --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0330c2f..bacbc51 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -68,7 +68,7 @@ jobs: name: Firebase preview runs-on: ubuntu-latest needs: [test-unit-ui, test-unit-python] - if: ${{ github.event.sender.type == 'User' }} + if: ${{ github.event.sender.type == 'User' }} && ${{ github.base_ref != 'dev' }} environment: name: dev