From 4a64606dbc2acad44c5f06532ef803e0d611170d Mon Sep 17 00:00:00 2001 From: IZUMI-Zu <274620705z@gmail.com> Date: Mon, 29 Jul 2024 20:56:31 +0800 Subject: [PATCH] feat: Add conditional check for creating preview only on pull requests --- .github/workflows/preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 65bec1c..a149e47 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -34,6 +34,7 @@ jobs: run: npm install - name: 🚀 Create preview + if: ${{ github.event_name == 'pull_request' }} uses: expo/expo-github-action/preview@v8 with: command: eas update --auto --branch ${{ github.event.pull_request.head.ref }}