anthropics / anthropics/claude-code-action

Temporary branch is not being cleaned up in case of failure

Open
#496 0 comments 0 reactions 0 assignees View on GitHub
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**
Image

**API Provider**

[x] Anthropic First-Party API (default)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.