chore: standardize the ai-agent caller stub #41

Merged
ffaerber merged 1 commits from chore/standard-caller into main 2026-07-04 11:24:50 +02:00
Owner

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

## 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)
ffaerber added 1 commit 2026-07-04 11:17:15 +02:00
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>
ffaerber merged commit d3c8f116f1 into main 2026-07-04 11:24:50 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/agents#41