Skip to content

chore: gh-aw native OAuth token auth support #7

@JacobPEvans

Description

@JacobPEvans

Summary

The gh-aw compiler hardcodes anthropic_api_key: secrets.ANTHROPIC_API_KEY in compiled .lock.yml files. We work around this by setting ANTHROPIC_API_KEY to our OAuth token value.

Ideally, gh-aw should support claude_code_oauth_token as a native auth parameter so we can use CLAUDE_CODE_OAUTH_TOKEN directly without the alias.

Current Workaround

  • ANTHROPIC_API_KEY secret contains the OAuth token value
  • claude-code-base-action auto-detects token format and handles it correctly

Desired State

  • gh-aw supports claude_code_oauth_token in frontmatter
  • Compiled .lock.yml uses claude_code_oauth_token: secrets.CLAUDE_CODE_OAUTH_TOKEN
  • No need for ANTHROPIC_API_KEY alias

Phase

Backlog - depends on gh-aw upstream support

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowLow - Address when time permitssize:xsXS - Trivial change, <1 hourtype:choreChore - Maintenance tasks, dependencies, tooling

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions