mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
068f464ead
Adds `environment: pypi-publish` to the publish job. Once the `pypi-publish` environment is created in GitHub repo settings with required reviewers, all PyPI publishes will require manual approval. This prevents unauthorized publishing even if a token with write access is compromised — the attacker can create a release but the publish job will pause waiting for a reviewer to approve. Setup required after merging: GitHub → Settings → Environments → New environment → "pypi-publish" → Add required reviewers → Restrict deployment branches to "main" and tags Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>