Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/prompts/review/03-self-improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ beyond the current PR. You can create issues to propose these improvements.

### Scope by Repository

- **`adpeak/claude-code-action`**: Org-wide prompts in `.github/prompts/`
- **`ExaDev/claude-code-action`**: Org-wide prompts in `.github/prompts/`
- **Other repositories**: Repo-specific prompts in `.github/prompts/`

Both types of prompts can be improved through issue creation.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: adpeak/claude-code-action@main
- uses: ExaDev/claude-code-action@main
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Optional: Customize trigger phrase
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: adpeak/claude-code-action@main
- uses: ExaDev/claude-code-action@main
with:
mode: review
pr_number: ${{ github.event.pull_request.number }}
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Run these commands in your repo:
```bash
# Interactive @claude commands (issues, comments, reviews)
curl -L -o .github/workflows/claude-interactive.yml \
https://raw.githubusercontent.com/AdPeak/claude-code-action/main/.github/workflows/claude-interactive.yml
https://raw.githubusercontent.com/ExaDev/claude-code-action/main/.github/workflows/claude-interactive.yml

# Automatic PR reviews
curl -L -o .github/workflows/claude-review.yml \
https://raw.githubusercontent.com/AdPeak/claude-code-action/main/.github/workflows/claude-review.yml
https://raw.githubusercontent.com/ExaDev/claude-code-action/main/.github/workflows/claude-review.yml
```

### 2. Configure Secret
Expand Down Expand Up @@ -52,7 +52,7 @@ Composite action that bundles org-wide prompts and layers repo-specific prompts

### How It Works

1. Consumer repo uses `uses: AdPeak/claude-code-action@main`
1. Consumer repo uses `uses: ExaDev/claude-code-action@main`
2. Action composes prompts: org-wide (bundled) + repo-specific (if present)
3. Calls `anthropics/claude-code-action@v1` with composed prompt
4. No cross-repo access, no GitHub App, no runtime file fetching
Expand Down Expand Up @@ -174,7 +174,7 @@ on:

jobs:
review:
uses: adpeak/claude-code-action/.github/workflows/claude-review.yml@main
uses: ExaDev/claude-code-action/.github/workflows/claude-review.yml@main
secrets:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
```
Expand Down Expand Up @@ -214,15 +214,15 @@ on:
jobs:
external-review:
if: github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
uses: adpeak/claude-code-action/.github/workflows/claude-review.yml@main
uses: ExaDev/claude-code-action/.github/workflows/claude-review.yml@main
```

### Structured Outputs

Get validated JSON results for automation:

```yaml
- uses: adpeak/claude-code-action@main
- uses: ExaDev/claude-code-action@main
with:
mode: review
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand All @@ -247,8 +247,8 @@ Prompt files should be numbered: org-wide `01-09`, repo-specific `10+`.

Available environment variables in prompts:

- `$REPO` — Full repo name (e.g., `adpeak/my-project`)
- `$REPO_OWNER` — Org name (e.g., `adpeak`)
- `$REPO` — Full repo name (e.g., `ExaDev/my-project`)
- `$REPO_OWNER` — Org name (e.g., `ExaDev`)
- `$REPO_NAME` — Repo name (e.g., `my-project`)
- `$PR_NUMBER` — Pull request number (review mode only)

Expand All @@ -260,7 +260,7 @@ Available environment variables in prompts:

## Self-Improvement Capability

The review workflow for this repository includes self-improvement capability. When reviewing changes to `AdPeak/claude-code-action`, the agent can:
The review workflow for this repository includes self-improvement capability. When reviewing changes to `ExaDev/claude-code-action`, the agent can:

- Create issues to propose prompt improvements
- Identify gaps, inconsistencies, or enhancement opportunities
Expand All @@ -285,10 +285,10 @@ When modifying this repo, edit `README.md` directly.
To test action changes without merging to main:

1. Create a branch with your changes
2. Push to adpeak/claude-code-action
2. Push to ExaDev/claude-code-action
3. In your test repo, reference the branch:
```yaml
uses: adpeak/claude-code-action@your-branch-name
uses: ExaDev/claude-code-action@your-branch-name
```
4. Trigger the workflow and verify behavior

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Claude Code with Shared Prompts"
description: "Claude Code action with org-wide prompts bundled. Optionally layers repo-specific prompts."
author: "AdPeak"
author: "ExaDev"
branding:
icon: "at-sign"
color: "orange"
Expand Down