chore: anonymize internal URLs for public release
Replace git.wxs.ro with forgejo.example.com in tests and docs. Add public repo guidelines to CLAUDE.md. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b01c498dd9
commit
fba53fc8a0
5 files changed
+56
-48
No files matched your search
+7
-7
@@ -36,9 +36,9 @@ on:
|
||||
|
||||
jobs:
|
||||
claude-response:
|
||||
runs-on: grunt # Your Forgejo runner label
|
||||
runs-on: ubuntu-latest # Your Forgejo runner label
|
||||
steps:
|
||||
- uses: https://git.wxs.ro/actions/claude-code-action@v1 # Or your mirror URL
|
||||
- uses: https://your-forgejo.example.com/actions/claude-code-action@v1 # Or your mirror URL
|
||||
with:
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
platform: "forgejo"
|
||||
@@ -63,9 +63,9 @@ on:
|
||||
|
||||
jobs:
|
||||
run-claude:
|
||||
runs-on: grunt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://git.wxs.ro/actions/claude-code-action@v1
|
||||
- uses: https://your-forgejo.example.com/actions/claude-code-action@v1
|
||||
with:
|
||||
prompt: ${{ github.event.inputs.task }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
@@ -260,7 +260,7 @@ curl -s "https://your-forgejo-instance/api/v1/users/claude" | jq '.id'
|
||||
#### 6. Configure the workflow
|
||||
|
||||
```yaml
|
||||
- uses: https://git.wxs.ro/actions/claude-code-action@v1
|
||||
- uses: https://your-forgejo.example.com/actions/claude-code-action@v1
|
||||
with:
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
platform: "forgejo"
|
||||
@@ -357,7 +357,7 @@ New upstream features that use GraphQL or GitHub-specific APIs won't automatical
|
||||
|
||||
## E2E Test Results
|
||||
|
||||
All execution modes and trigger types have been validated end-to-end on a Forgejo instance (git.wxs.ro):
|
||||
All execution modes and trigger types have been validated end-to-end on a Forgejo instance:
|
||||
|
||||
| Mode | Trigger | Status | Details |
|
||||
| -------------- | ------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@@ -367,7 +367,7 @@ All execution modes and trigger types have been validated end-to-end on a Forgej
|
||||
| **Tag mode** | `pull_request_review` | Validated | Claude responds to `@claude` in PR review body. Forgejo sends `pull_request_comment` instead of `pull_request_review` — the `@claude` check runs in `trigger.ts`, not the workflow `if:` condition |
|
||||
| **Tag mode** | `issues` with `labeled` action | Validated | Claude responds when the configured label is applied. 3 bugs fixed: workflow `if:` expression parser rejects `#` comments, `github.event.action` not populated in `if:` context, event action is `label_updated` not `labeled` |
|
||||
| **Tag mode** | `issues` with `assigned` action | Validated | Claude responds when assigned to an issue. 1 bug fixed: `assignee` field missing from top-level payload (nested under `issue.assignee` instead) |
|
||||
| **Tag mode** | Code changes (branch + commits) | Validated | Claude creates branch, pushes commits, links branch in tracking comment. Bot identity (`claude <claude@wxs.ro>`) correct. PR compare URL uses `expand=1` (Forgejo) instead of `quick_pull=1` (GitHub) |
|
||||
| **Tag mode** | Code changes (branch + commits) | Validated | Claude creates branch, pushes commits, links branch in tracking comment. Bot identity correct. PR compare URL uses `expand=1` (Forgejo) instead of `quick_pull=1` (GitHub) |
|
||||
|
||||
### Tag Mode Verified Capabilities
|
||||
|
||||
|
||||
Reference in new issue
Block a user