Commit 2ba156a
Gitignore claude-code-action's .claude-pr/ scratch dir
PR #759 got a bad "Add upstream-release-docs content for toolhive
v0.23.1" commit carrying 17 files of leakage from
.claude-pr/.claude/* + .claude-pr/CLAUDE.md + .claude-pr/.husky/.
That directory is created by anthropics/claude-code-action@v1 as
scratch workspace during skill runs — it clones our own .claude/
skill configs into a sibling dir for its own use. None of it
belongs on the repo's main branch.
Our workflow's "Commit and push" step runs `git add -A` after the
skill, which scooped up the scratch dir alongside any legitimate
content.
Ignoring /.claude-pr at the root so it never gets staged. The legit
content from the skill (guide updates, v1alpha1 → v1beta1 migration
docs) lands as intended via claude-code-action's own auto-commit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 97e8b74 commit 2ba156a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments