diff --git a/.github/workflows/pr-env.yml b/.github/workflows/pr-env.yml
index 90e869a4de9b1b1a79d4504ac52b107c2bb3838d..38d5ef34e1bcbad4b5855e7a2f1502c6e1381373 100644
--- a/.github/workflows/pr-env.yml
+++ b/.github/workflows/pr-env.yml
@@ -11,7 +11,7 @@ on:
 jobs:
   build:
     runs-on: ubuntu-latest
-    if: contains(github.event.pull_request.labels.*.name, 'External') == false
+    if: github.event.pull_request.head.repo.full_name == github.repository
     name: Build Metabase Docker image
     timeout-minutes: 60
     permissions: