Using Claude Code with GitHub Agentic Workflows | GitHub Agentic Workflows
Skip to main content Using Claude Code with GitHub Agentic Workflows Run Claude Code on GitHub events using an Anthropic API key or GitHub Copilot inference. A Claude subscription OAuth login is not supported. Connect your account Section titled “Connect your account” Set engine: claude and add an ANTHROPIC_API_KEY repository secret. For keyless authentication, use Anthropic WIF . To bill inference through Copilot instead, add model: copilot/auto and permissions: { copilot-requests: write } .
No Anthropic key is needed. Run a daily report Section titled “Run a daily report” After setting up gh-aw , save this workflow: .github/workflows/daily-status.md --- on : workflow_dispatch : schedule : daily permissions : contents : read issues : read pull-requests : read engine : claude tools : github : toolsets : [ issues , pull_requests ] safe-outputs : create-issue : title-prefix : " [status] " --- # Daily repository status Summarize open issues and recent pull request activity in one concise issue.
Compile with gh aw compile daily-status , then commit and push both the Markdown and generated lock file. Run it from the repository’s Actions tab or wait for its schedule. Capabilities and limitations Section titled “Capabilities and limitations” Claude supports native web search and command-level shell restrictions. Dynamic workflows, permission modes, bare mode, and provider-specific configuration are covered in the Claude reference .
Next steps Section titled “Next steps” Claude Code technical reference Create a workflow Workflow examples Compare engines