From 73b62797cd43def629fd1a9699734acf92f1196f Mon Sep 17 00:00:00 2001
From: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Date: Sat, 14 Jan 2023 19:51:34 +0900
Subject: [PATCH] =?UTF-8?q?CI=20Deploy=20preview=20environment=E3=81=AE?=
 =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E3=83=88=E3=83=AA=E3=82=AC=E3=83=BC?=
 =?UTF-8?q?=E5=89=8A=E9=99=A4=20(#9558)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* CI Deploy preview environmentの不要なトリガー削除

* 不要な条件削除
---
 .github/workflows/pr-preview-deploy.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml
index fd43bce9e6..f43d1b2290 100644
--- a/.github/workflows/pr-preview-deploy.yml
+++ b/.github/workflows/pr-preview-deploy.yml
@@ -1,7 +1,5 @@
 # Run secret-dependent integration tests only after /deploy approval
 on:
-  pull_request:
-    types: [opened, reopened, synchronize]
   repository_dispatch:
     types: [deploy-command]
 
@@ -12,7 +10,6 @@ jobs:
   deploy-preview-environment:
     runs-on: ubuntu-latest
     if:
-      github.event_name == 'repository_dispatch' &&
       github.event.client_payload.slash_command.sha != '' &&
       contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha)
     steps: