Skip to content

chore: use OPENHANDS_BOT_GITHUB_PAT_PUBLIC in pr-review-by-openhands.yml#474

Merged
all-hands-bot merged 1 commit intomainfrom
chore/use-pat-public-for-pr-review
Apr 23, 2026
Merged

chore: use OPENHANDS_BOT_GITHUB_PAT_PUBLIC in pr-review-by-openhands.yml#474
all-hands-bot merged 1 commit intomainfrom
chore/use-pat-public-for-pr-review

Conversation

@simonrosenberg
Copy link
Copy Markdown
Collaborator

Part of OpenHands/evaluation#428 (PAT blast-radius reduction).

Replaces secrets.ALLHANDS_BOT_GITHUB_PATsecrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC on L49. The ALLHANDS_BOT_GITHUB_PAT is the shared bot token with write access to private repos; OPENHANDS_BOT_GITHUB_PAT_PUBLIC is a fine-grained PAT scoped only to public OpenHands repos (contents+pull-requests+issues:write). This matches the pattern already used in the other repos' pr-review-by-openhands.yml workflows.

Prerequisites

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 23, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Apr 23, 2026, 8:36 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copy link
Copy Markdown
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Good taste - Clean security improvement.

[RISK ASSESSMENT]

  • [Overall PR] ⚠️ Risk Assessment: 🟢 LOW

This is a straightforward security improvement that reduces blast radius by replacing a broad-scope shared token with a fine-grained PAT scoped only to public repos. The change is minimal, clear, and fail-safe: if the new secret is misconfigured, the workflow will fail rather than cause damage.

VERDICT:
Worth merging: Simple configuration change that improves security posture.

KEY INSIGHT:
Textbook example of least-privilege principle applied to automation credentials.

@all-hands-bot all-hands-bot merged commit 2c4b28d into main Apr 23, 2026
6 checks passed
@all-hands-bot all-hands-bot deleted the chore/use-pat-public-for-pr-review branch April 23, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants