Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix(ci): use fork repo for PR tests, remove cloudflared checks

ShawnPana639c4096232a
diff --git a/.github/workflows/install-script.yml b/.github/workflows/install-script.yml
index f94a19a1e..3c4fb9f75 100644
--- a/.github/workflows/install-script.yml
+++ b/.github/workflows/install-script.yml
@@ -20,8 +20,9 @@ concurrency:
env:
# Use current branch for testing install.sh
+ # For PRs, use the fork's repo (head.repo), otherwise use the base repo
BROWSER_USE_BRANCH: ${{ github.head_ref || github.ref_name }}
- BROWSER_USE_REPO: ${{ github.repository }}
+ BROWSER_USE_REPO: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
jobs:
# ===========================================================================
@@ -243,7 +244,7 @@ jobs:
# Install from current branch
uv pip install .
- - name: Run browser-use install (should install Chromium + cloudflared)
+ - name: Run browser-use install (installs Chromium only, not cloudflared)
run: |
source .venv/bin/activate
browser-use install
@@ -260,10 +261,8 @@ jobs:
ls ~/.cache/ms-playwright/chromium-*/chrome-linux/chromium 2>/dev/null || \
echo "Chromium check completed"
- - name: Verify cloudflared installed
- run: |
- which cloudflared || ls ~/.local/bin/cloudflared
- cloudflared --version
+ # Note: browser-use install only installs Chromium, not cloudflared
+ # Users should install cloudflared separately if needed for tunneling
- name: Run browser-use doctor
run: |
@@ -310,10 +309,7 @@ jobs:
ls ~/.cache/ms-playwright/chromium-*/chrome-linux/chromium 2>/dev/null || \
echo "Chromium check completed"
- - name: Verify cloudflared installed after uvx install
- run: |
- which cloudflared || ls ~/.local/bin/cloudflared
- cloudflared --version
+ # Note: browser-use install only installs Chromium, not cloudflared
- name: Test uvx browser-use doctor
run: |
@@ -348,10 +344,7 @@ jobs:
ls ~/.cache/ms-playwright/chromium-*/chrome-linux/chromium 2>/dev/null || \
echo "Chromium check completed"
- - name: Verify cloudflared installed
- run: |
- which cloudflared || ls ~/.local/bin/cloudflared
- cloudflared --version
+ # Note: browser-use install only installs Chromium, not cloudflared
- name: Test uvx browser-use doctor
run: uvx "browser-use[cli]" doctor