anthropics / anthropics/claude-code-action
Temporary branch is not being cleaned up in case of failure
Open
bug
p2
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.1k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
**Describe the bug**
When attempting to configure ClaudeCode using quick setup `/install-github-app`, but a failure has occurred, it doesn't cleanup the used branch to add the workflow on GitHub.
**To Reproduce**
1. Mark the main branch as protected, prevent direct pushing.
2. Run `/install-github-app`.
3. Failure should happen since the branch is protected.
4. Branch used to add the workflow should be removed.
**Expected behavior**
Cleanup the branch in case of failure to integrate ClaudeCode action.
**Screenshots**
**API Provider**
[x] Anthropic First-Party API (default)
Contributor guide
Assessment
This issue has not been assessed yet.