Forgejo-patched claude-code-gitea-action (View-job URL uses per-repo run index)
Some checks failed
Test Custom Executables / test-custom-executables (push) Has been cancelled
CI / test (push) Has been cancelled
CI / prettier (push) Has been cancelled
CI / typecheck (push) Has been cancelled
Sync Base Action to claude-code-base-action / Sync base-action to claude-code-base-action repository (push) Has been cancelled
Test Claude Code Action / test-inline-prompt (push) Has been cancelled
Test Claude Code Action / test-prompt-file (push) Has been cancelled
Test Claude Env Feature / test-claude-env-with-comments (push) Has been cancelled
Test MCP Servers / test-mcp-integration (push) Has been cancelled
Test MCP Servers / test-mcp-config-flag (push) Has been cancelled
Test Settings Feature / test-settings-inline-allow (push) Has been cancelled
Test Settings Feature / test-settings-inline-deny (push) Has been cancelled
Test Settings Feature / test-settings-file-allow (push) Has been cancelled
Test Settings Feature / test-settings-file-deny (push) Has been cancelled

Fork of markwylde/claude-code-gitea-action@b744372 (v1.0.21) with the
'View job' link fixed to use GITHUB_RUN_NUMBER (per-repo index) instead of
GITHUB_RUN_ID (global id), because Forgejo routes run pages by per-repo index.
See VENDOR.txt.
This commit is contained in:
claude (ops) 2026-07-01 06:42:55 +00:00
commit 32685a740f
151 changed files with 23555 additions and 0 deletions

20
VENDOR.txt Normal file
View file

@ -0,0 +1,20 @@
Vendored from https://github.com/markwylde/claude-code-gitea-action
Commit: b744372179e23cb860af91c26f43726ebc755487 (release v1.0.21)
Date: 2026-06-30
Do not edit in place; re-vendor from the pinned commit to update.
LOCAL PATCH (2026-07-01, clodorp ops/infra):
"View job" links now use the per-repo run index (GITHUB_RUN_NUMBER) instead of
the global run id (GITHUB_RUN_ID). Forgejo routes /{owner}/{repo}/actions/runs/{N}
by the per-repo index, so the upstream GitHub-style global-id URL 404s
("run with index <repo> <id>: resource does not exist"). Verified empirically:
a job saw RUN_ID=207 (global) / RUN_NUMBER=1 (index) for a first run.
Patched files:
- src/github/operations/comments/common.ts (createJobRunLink)
- src/entrypoints/update-comment-link.ts (jobUrl)
- action.yml (pass GITHUB_RUN_NUMBER to the
Prepare + Update-link steps)
Fallback to the global run id is preserved for non-Forgejo (GitHub) use.
Hosted at git.clodorp.fr/ops/claude-code-gitea-action; referenced by the per-repo
.forgejo/workflows/claude.yml via `uses: https://git.clodorp.fr/ops/claude-code-gitea-action@<sha>`.