From e1ade5c6650a39de491aeb5f8cef8b878e118f50 Mon Sep 17 00:00:00 2001
From: Ryan Laurie <30528226+iethree@users.noreply.github.com>
Date: Fri, 14 Jun 2024 06:40:15 -0600
Subject: [PATCH] Trigger ee extra build (#44138)

---
 .github/workflows/release.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3da7f8fa7af..20223937c6d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -546,6 +546,24 @@ jobs:
               }
             });
 
+  trigger-ee-extra-pr:
+    needs: verify-s3-download
+    runs-on: ubuntu-22.04
+    timeout-minutes: 10
+    steps:
+      - uses: actions/github-script@v7
+        with:
+          github_token: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
+          script: | # js
+            github.rest.repos.createDispatchEvent({
+              owner: '${{ github.repository_owner }}',
+              repo: 'metabase-ee-extra',
+              event_type: 'update-ee-extra-build',
+              client_payload: {
+                version: '${{ inputs.version }}'
+              }
+            });
+
   draft-release-notes:
     if: ${{ inputs.skip-release-notes != true }}
     needs: push-tags
-- 
GitLab