Skip to content

chore: rename ALLHANDS_BOT_GITHUB_PAT to PAT_TOKEN#463

Open
simonrosenberg wants to merge 1 commit intomainfrom
chore/rename-allhands-bot-github-pat-to-pat-token
Open

chore: rename ALLHANDS_BOT_GITHUB_PAT to PAT_TOKEN#463
simonrosenberg wants to merge 1 commit intomainfrom
chore/rename-allhands-bot-github-pat-to-pat-token

Conversation

@simonrosenberg
Copy link
Copy Markdown
Collaborator

Summary

Renames `ALLHANDS_BOT_GITHUB_PAT` → `PAT_TOKEN` in workflow files to standardise on the org-wide `PAT_TOKEN` secret name.

This is a mechanical rename only — no behaviour changes. Part of OpenHands/evaluation#428 (PAT_TOKEN blast radius reduction).

🤖 Generated with Claude Code

Standardises on the org-wide PAT_TOKEN secret name.
Part of OpenHands/evaluation#428.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

🟡 Acceptable - Simple mechanical rename, but needs verification before merge.

# review-style: roasted
llm-api-key: ${{ secrets.LLM_API_KEY }}
github-token: ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}
github-token: ${{ secrets.PAT_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟠 Important: Verify that the PAT_TOKEN secret exists in this repository's settings before merging.

This change will break the PR review workflow if the secret hasn't been created yet. Recommend:

  1. Check repository secrets: gh secret list --repo OpenHands/docs
  2. Confirm PAT_TOKEN exists with the same value/permissions as the old ALLHANDS_BOT_GITHUB_PAT
  3. Consider testing this workflow on a test PR before merging

If the secret doesn't exist, this is a breaking change that will cause silent workflow failures.

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 20, 2026

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

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Apr 20, 2026, 6:04 PM

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

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