The ai-agent caller workflow had drifted between repos (homelab had a run-name, a stale comment claiming SHA-pinning, and reordered triggers) even though every copy is functionally the same uses: …/agent.yml@main + secrets: inherit.
Define one canonical stub, identical everywhere:
This repo's .gitea/workflows/ai-agent.yml is the reference copy.
README "Use it in a repo" block matches it verbatim.
homelab is being updated to the identical file (separate push).
On the nested jobs.agent
It can't be removed — a reusable (workflow_call) workflow can only be invoked from a caller job, and the on: triggers must live in each caller. So this stub is already the irreducible minimum; the change just removes cosmetic drift and documents why.
## Summary
The `ai-agent` caller workflow had drifted between repos (homelab had a `run-name`, a **stale comment** claiming SHA-pinning, and reordered triggers) even though every copy is functionally the same `uses: …/agent.yml@main` + `secrets: inherit`.
Define **one canonical stub**, identical everywhere:
- This repo's `.gitea/workflows/ai-agent.yml` is the reference copy.
- README "Use it in a repo" block matches it verbatim.
- homelab is being updated to the identical file (separate push).
## On the nested `jobs.agent`
It can't be removed — a reusable (`workflow_call`) workflow can only be invoked from a caller job, and the `on:` triggers must live in each caller. So this stub is already the irreducible minimum; the change just removes cosmetic drift and documents why.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The caller workflow had drifted between repos (run-name, stale SHA comment, trigger ordering,
different comment text) though all were functionally the same `uses: agent.yml@main`. Define one
canonical stub: make this repo's own ai-agent.yml the reference and update the README "Use it in a
repo" block to match it verbatim, noting that the on: triggers and the jobs.agent wrapper are the
irreducible minimum for a reusable (workflow_call) workflow.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The
ai-agentcaller workflow had drifted between repos (homelab had arun-name, a stale comment claiming SHA-pinning, and reordered triggers) even though every copy is functionally the sameuses: …/agent.yml@main+secrets: inherit.Define one canonical stub, identical everywhere:
.gitea/workflows/ai-agent.ymlis the reference copy.On the nested
jobs.agentIt can't be removed — a reusable (
workflow_call) workflow can only be invoked from a caller job, and theon:triggers must live in each caller. So this stub is already the irreducible minimum; the change just removes cosmetic drift and documents why.🤖 Generated with Claude Code