Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

ci: upload Claude Code session logs as artifacts (#666)

Maximilian Roos864d465e0568
diff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yaml
index 722f84b52..029b0b8d7 100644
--- a/.github/workflows/claude-ci-fix.yaml
+++ b/.github/workflows/claude-ci-fix.yaml
@@ -123,3 +123,12 @@ jobs:
claude_args: |
--allowedTools Bash,Edit,Read,Write,Glob,Grep,WebSearch,WebFetch
+
+ - name: πŸ“‹ Upload Claude Code session logs
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: claude-session-logs
+ path: ~/.claude/
+ retention-days: 30
+ if-no-files-found: warn
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml
index 71b8335ff..f7c98b068 100644
--- a/.github/workflows/claude-mention.yaml
+++ b/.github/workflows/claude-mention.yaml
@@ -104,3 +104,12 @@ jobs:
This project is a git worktree manager that integrates with shells (bash, zsh, fish).
Pay attention to shell integration, output formatting (anstyle), and snapshot tests."
+
+ - name: πŸ“‹ Upload Claude Code session logs
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: claude-session-logs
+ path: ~/.claude/
+ retention-days: 30
+ if-no-files-found: warn