Skip to main content
anthropic.updateRepositoryToken rotates the authorization token for an attached GitHub repository.

Example

automations/anthropic-update-repository-token.automation.ts

Inputs

Requires sessionId, resourceId, and the replacement authorizationToken. Only GitHub repository resources support rotation. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the updated repository resource. The token is sensitive action input. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.