anthropics / anthropics/claude-code-action
Problem installing on Github ("Failed to create workflow file")
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.1k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
**Describe the bug**
When I try to install I get:
```
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Install GitHub App │
│ Error │
│ │
│ Error: Failed to create workflow file .github/workflows/claude.yml: gh: Not Found (HTTP 404) │
│ │
│ │
│ Need help? Common issues: │
│ • Permission denied → Run: gh auth refresh -h github.com -s repo,workflow │
│ • Not authorized → Ensure you have admin access to the repository │
│ • For manual setup → Visit: https://github.com/anthropics/claude-code-action │
│ │
│ Reason: GitHub Actions setup failed │
│ │
│ For manual setup instructions, see: https://github.com/anthropics/claude-code-action/#manual-setup-direct-api
```
**To Reproduce**
Steps to reproduce the behavior:
1. `/install-github-app `
2. `│ > Use current repository:`
3. Installed github app.
4. selected both review and mentions.
5. `Create a long-lived token with your Claude subscription`
6. Error...
**Expected behavior**
It should work.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Workflow yml file**
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.
**API Provider**
[x] Max subscription
[ ] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex
**Additional context**
I tried running the `gh auth refresh` but I still get the error.
Contributor guide
Assessment
This issue has not been assessed yet.