Skip to content

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

use contents: read instead of empty permissions on CI workflows

Laith Weinbergere539ee7b734b
diff --git a/.github/workflows/cloud_evals.yml b/.github/workflows/cloud_evals.yml
index 9dd97f482..b886f5b59 100644
--- a/.github/workflows/cloud_evals.yml
+++ b/.github/workflows/cloud_evals.yml
@@ -16,7 +16,8 @@ on:
description: Commit hash of the library to build the Cloud eval image for
required: false
-permissions: {}
+permissions:
+ contents: read
jobs:
trigger_cloud_eval_image_build:
diff --git a/.github/workflows/install-script.yml b/.github/workflows/install-script.yml
index ff4130c62..3ab8ed047 100644
--- a/.github/workflows/install-script.yml
+++ b/.github/workflows/install-script.yml
@@ -13,7 +13,8 @@ on:
- '.github/workflows/install-script.yml'
workflow_dispatch:
-permissions: {}
+permissions:
+ contents: read
# Cancel in-progress runs when a new commit is pushed
concurrency:
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 6bee48d3f..af70548a8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,7 +16,8 @@ on:
pull_request:
workflow_dispatch:
-permissions: {}
+permissions:
+ contents: read
jobs:
lint-syntax:
diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml
index f85c328a6..cd9eb91af 100644
--- a/.github/workflows/package.yaml
+++ b/.github/workflows/package.yaml
@@ -15,7 +15,8 @@ on:
- '*'
workflow_dispatch:
-permissions: {}
+permissions:
+ contents: read
jobs:
build: