Skip to content

Configuring Secrets

After initializing a repo with the CLI, you need to configure secrets so the workflows can authenticate with external services.

Set these in Settings > Secrets and variables > Actions > Repository secrets:

SecretRequired forPurpose
SOURCEGRAPH_TOKENAll presetsCode search via Sourcegraph MCP
ROLLBAR_TOKENAll presetsError tracking via Rollbar MCP
POSTHOG_TOKENweb preset onlyAnalytics via PostHog MCP

These are typically set at the GitHub organization level and available to all repos:

VariablePurpose
BUCKY_APP_IDGitHub App ID for cross-repo access
BUCKY_APP_PRIVATE_KEYGitHub App private key
OIDC_IAM_ROLEAWS IAM role ARN for Bedrock authentication
ARTIFACTORY_NPM_PROD_TOKENNPM registry token (web preset)
ARTIFACTORY_GOPROXYGo proxy URL (golang preset)
ARTIFACTORY_PROD_REPONPM registry URL (web preset)
BUF_ACCESS_TOKEN_SECRET_ARNBuf token ARN for protobuf (web preset)
  1. Your caller workflow uses secrets: inherit to pass all repository and org secrets to the reusable workflow
  2. The reusable workflow resolves the preset via resolve-preset and determines which secrets to inject
  3. Secrets are passed as env: variables on the claude-code-action step, making them available to MCP servers inside plugins