Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: skip playwright forks (#578)

Myles Scolnick11b0dd589e30
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 591bb3ab77..47d83f1e98 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -81,7 +81,7 @@ jobs:
- name: ☁️ Google Auth
uses: google-github-actions/auth@v1
# Skip on forks
- if: github.repository_owner == 'marimo-team'
+ if: github.event.pull_request.head.repo.organization == 'marimo-team'
with:
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
@@ -92,7 +92,7 @@ jobs:
- name: 📦 Upload to bucket (PR)
uses: google-github-actions/upload-cloud-storage@v1
# Only on PRs and not forks
- if: github.event_name == 'pull_request' && github.repository_owner == 'marimo-team'
+ if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.organization == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/branches/${{ steps.branch-name.outputs.current_branch }}
path: frontend/e2e-tests/screenshots
@@ -100,7 +100,7 @@ jobs:
- name: 📦 Upload to bucket (main)
uses: google-github-actions/upload-cloud-storage@v1
# Only on main branch and not forks
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'marimo-team'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pull_request.head.repo.organization == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/main
path: frontend/e2e-tests/screenshots