From 8545451091d129b41ff1945f977e1a7b6c762dd8 Mon Sep 17 00:00:00 2001 From: steveoh Date: Mon, 30 Sep 2024 15:05:10 -0600 Subject: [PATCH] ci: only run preview on non protected branches --- .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 bd07651d..79ee5f0e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -63,7 +63,7 @@ jobs: name: Firebase preview runs-on: ubuntu-latest needs: [test-unit, test-check] - if: ${{ github.event.sender.type == 'User' }} + if: ${{ github.event.sender.type == 'User' }} && github.head_ref != 'dev' }} environment: name: preview