docs(workflows): add OAuth token documentation for Claude workflows #284
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the documentation to reflect the OAuth authentication option (
CLAUDE_CODE_OAUTH_TOKEN) for Claude-powered workflows. The underlying workflow implementation already supports OAuth (see recent commits #282, #283), but the documentation needed to be updated to guide users on how to use it.REUSABLE_WORKFLOWS.mdwith OAuth token documentation for_claude-main.ymland_claude-code-review.ymlworkflowsWORKFLOW_PATdocumentation for resolving review threads via GraphQL APIChanges
.github/REUSABLE_WORKFLOWS.md: Updated secrets documentation tables for Claude workflows to include:CLAUDE_CODE_OAUTH_TOKENas an alternative toANTHROPIC_API_KEYWORKFLOW_PATfor optional GraphQL API operationsNote
The following files were prepared with OAuth documentation updates but could not be pushed due to GitHub App workflow permissions:
.github/workflows/README.md- Required secrets table update.github/workflows/examples/08-claude-code-review-basic.yml- OAuth usage examples.github/workflows/examples/09-claude-code-review-with-custom-prompt.yml- OAuth usage examples.github/workflows/examples/10-claude-code-review-advanced.yml- OAuth usage examplesThese changes will need to be applied separately by a user with workflow write permissions.
Testing
Linear Issue
Closes: https://linear.app/uniswap/issue/DEV-185/use-oauth-in-universe-for-claude-code-review-github-actions-workflow
Autonomous implementation using claude-opus-4-5-20251101
✨ Claude-Generated Content
Summary
Updates
REUSABLE_WORKFLOWS.mddocumentation to reflect the OAuth authentication option (CLAUDE_CODE_OAUTH_TOKEN) for Claude-powered workflows. The underlying workflow implementation already supports OAuth (added in #281-#283), but the documentation needed to be updated to guide users on how to use it.Changes
_claude-main.ymlto document:CLAUDE_CODE_OAUTH_TOKENas an alternative toANTHROPIC_API_KEY_claude-code-review.ymlto document:CLAUDE_CODE_OAUTH_TOKENas an alternative toANTHROPIC_API_KEYWORKFLOW_PATfor optional GraphQL API operations (resolving review threads)Notes
The OAuth token option enables Pro/Max users to authenticate using tokens generated via
claude setup-tokeninstead of requiring a pay-as-you-go API key. When both authentication methods are provided, the OAuth token takes precedence.Closes: https://linear.app/uniswap/issue/DEV-185