Add a direct "Download full output" link in the comment footer that
points to the uploaded artifact, alongside the existing workflow run
link.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude Code sandboxes file access to the working directory. Files in
/tmp are inaccessible regardless of allowed_tools config. Move diff
files and extracted result to .claude-tmp/ inside the repo.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add `Read` to allowed_tools so Claude can read the diff files
- Read Claude output from JSON file instead of step output (fixes
empty result caused by multiline content breaking GH Actions outputs)
- Upload claude-execution-output.json as a downloadable artifact
- Add link to workflow run in the success comment footer
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Skip posting the initial comment on PRs from forks (job-level guard
+ runtime check for workflow_dispatch)
- Verify the checkbox clicker has write/admin permission before
running generation (prevents external collaborators from triggering
Claude API calls)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The claude-code-base-action expects anthropic_api_key as a `with:`
input parameter, not an `env:` variable.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add workflow_dispatch trigger with pr_number input so the social copy
generator can be used on any existing PR (open or merged). Also adds
duplicate comment detection and a GitHub API diff fallback for merged
PRs where the branch may have been deleted.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a GitHub Actions workflow that posts a comment on every new PR with a
checkbox to generate social media copies (Twitter/X, LinkedIn, Blog Post)
using Claude Code. Checking the checkbox triggers Claude to analyze the PR
diff and generate content. After generation, the checkbox resets to
"Regenerate" so users can re-trigger after pushing new changes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move original CopilotKit/CopilotKit directory to src/v1.x
- Introduce new v2 interfaces in src/v2.x
- Align CI paths and preview environments to new layout
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Ran Shemtov <ran@copilotkit.ai>
Co-authored-by: Brandon McConnell <brandon@dreamthinkbuild.com>
Co-authored-by: Mike Ryan <mike.ryan52@gmail.com>