Skip to content

ci: add on-demand @claude workflow (subscription OAuth, no API billing)#300

Merged
gianalarcon merged 1 commit into
developfrom
ci/claude-on-demand
Jun 18, 2026
Merged

ci: add on-demand @claude workflow (subscription OAuth, no API billing)#300
gianalarcon merged 1 commit into
developfrom
ci/claude-on-demand

Conversation

@gianalarcon

Copy link
Copy Markdown
Contributor

What

Adds .github/workflows/claude.yml — an on-demand Claude assistant that runs only when someone writes @claude in an issue or PR comment/review.

Why

The previous auto-review workflow (#297) ran on every PR, which burned through the team's Claude Pro/Max usage limits — so it was removed in ea307e6. This version runs nothing automatically: it fires solely on an explicit @claude mention, keeping usage within the subscription.

Cost / auth

  • Auth via CLAUDE_CODE_OAUTH_TOKEN (already set as an Actions secret) — runs on the Pro/Max subscription.
  • No anthropic_api_key — that path is pay-per-use API billing on top of the subscription, which we explicitly do not want.

Prerequisites (already in place)

  • ✅ Claude GitHub App installed on the repo
  • CLAUDE_CODE_OAUTH_TOKEN secret

Test

After merge, comment @claude summarize this PR on any PR/issue and confirm the Claude workflow run appears under Actions and authenticates. Confirm no run fires on a plain PR open/push.

🤖 Generated with Claude Code

Triggers only on @claude mentions in issues/PR comments, so nothing runs
automatically and usage stays within the Pro/Max subscription. Uses
CLAUDE_CODE_OAUTH_TOKEN; no anthropic_api_key to avoid extra API billing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mw3pbhjFTyknZVZWBfWP7Z
@gianalarcon gianalarcon merged commit a0a126b into develop Jun 18, 2026
2 checks passed
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.

1 participant