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 Google Auth on forks in CI (#435)

Myles Scolnick3c23cd047b7d
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 18791b9280..c448cd1453 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -80,6 +80,8 @@ jobs:
- name: ☁️ Google Auth
uses: google-github-actions/auth@v1
+ # Skip on forks
+ if: github.repository_owner == 'marimo-team'
with:
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
@@ -89,16 +91,16 @@ jobs:
- name: 📦 Upload to bucket (PR)
uses: google-github-actions/upload-cloud-storage@v1
- # Only on PRs
- if: github.event_name == 'pull_request'
+ # Only on PRs and not forks
+ if: github.event_name == 'pull_request' && github.repository_owner == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/branches/${{ steps.branch-name.outputs.current_branch }}
path: frontend/e2e-tests/screenshots
- name: 📦 Upload to bucket (main)
uses: google-github-actions/upload-cloud-storage@v1
- # Only on main branch
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
+ # Only on main branch and not forks
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/main
path: frontend/e2e-tests/screenshots