Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
enable_todo_persistence: "true"
claude_args: |
--allowedTools "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)"
--model "claude-opus-4-1-20250805"
14 changes: 14 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ inputs:
description: "Optional path to a custom Bun executable. If provided, skips automatic Bun installation and uses this executable instead. WARNING: Using an incompatible version may cause problems if the action requires specific Bun features. This input is typically not needed unless you're debugging something specific or have unique needs in your environment."
required: false
default: ""
enable_todo_persistence:
description: "Enable persistent todo list functionality across GitHub Action runs using artifacts. Useful for complex multi-run tasks."
required: false
default: "false"

outputs:
execution_file:
Expand Down Expand Up @@ -162,6 +166,7 @@ runs:
TRACK_PROGRESS: ${{ inputs.track_progress }}
ADDITIONAL_PERMISSIONS: ${{ inputs.additional_permissions }}
CLAUDE_ARGS: ${{ inputs.claude_args }}
ENABLE_TODO_PERSISTENCE: ${{ inputs.enable_todo_persistence }}
ALL_INPUTS: ${{ toJson(inputs) }}

- name: Install Base Action Dependencies
Expand Down Expand Up @@ -245,6 +250,15 @@ runs:
VERTEX_REGION_CLAUDE_3_5_SONNET: ${{ env.VERTEX_REGION_CLAUDE_3_5_SONNET }}
VERTEX_REGION_CLAUDE_3_7_SONNET: ${{ env.VERTEX_REGION_CLAUDE_3_7_SONNET }}

- name: Finalize Todo List
if: steps.prepare.outputs.contains_trigger == 'true' && inputs.enable_todo_persistence == 'true' && always()
shell: bash
run: |
bun run ${GITHUB_ACTION_PATH}/src/entrypoints/finalize-todos.ts
env:
GITHUB_TOKEN: ${{ steps.prepare.outputs.GITHUB_TOKEN }}
CLAUDE_SUCCESS: ${{ steps.claude-code.outputs.conclusion == 'success' }}

- name: Update comment with job link
if: steps.prepare.outputs.contains_trigger == 'true' && steps.prepare.outputs.claude_comment_id && always()
shell: bash
Expand Down
4 changes: 0 additions & 4 deletions base-action/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions base-action/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion base-action/.prettierrc

This file was deleted.

60 changes: 0 additions & 60 deletions base-action/CLAUDE.md

This file was deleted.

128 changes: 0 additions & 128 deletions base-action/CODE_OF_CONDUCT.md

This file was deleted.

136 changes: 0 additions & 136 deletions base-action/CONTRIBUTING.md

This file was deleted.

Loading
Loading