Skip to content

feat(actions): add reusable workflows (validate / review / agent)#3

Merged
filippofilip95 merged 1 commit into
mainfrom
feat/reusable-workflows
May 19, 2026
Merged

feat(actions): add reusable workflows (validate / review / agent)#3
filippofilip95 merged 1 commit into
mainfrom
feat/reusable-workflows

Conversation

@filippofilip95
Copy link
Copy Markdown
Member

What

Three reusable workflows (`workflow_call`) alongside the existing composite actions:

  • `.github/workflows/wizrd-validate.yml` — `level` input, runs the 11-check validator
  • `.github/workflows/wizrd-review.yml` — uses the Anthropic `code-review@claude-code-plugins` plugin (proven to post comments in our v1 repos)
  • `.github/workflows/wizrd-agent.yml` — on-demand agent, loads `.claude/ci-agent-context.md` as system prompt

Context

Consuming repos today carry three thin workflow files each (validate.yml + code-review.yml + wizrd-agent.yml) wrapping composite actions. With reusable workflows, each repo declares a single `wizrd.yml` that calls these jobs — triggers, permissions, secrets handled centrally.

The review workflow also fixes the silent no-comment problem: the composite `code-review` action runs Claude with a custom prompt, but in v1 agent mode `use_sticky_comment` is a no-op and Claude has to be told to post via tool. The plugin pattern (already working in `kontentino/services/api`, `supanext/services/crawler`, `eu-companies/services/web`) handles tool-calling internally.

Quality

  • Review: self
  • Tests: N/A — validation will come from the slovenskaznamka-web pilot
  • Gate: dispatch — pass

Impact

  • Pilot: slovenskaznamka-web (single `wizrd.yml` replaces three files)
  • After pilot succeeds: sweep across L0 + 13 L1 wizrd repos + our L2 service repos (skip external kontentino-org / temaron repos)
  • Composites stay in place; we can deprecate them in a later PR

…wizrd-agent)

Lets consuming repos declare one wizrd.yml that calls workflow_call workflows,
instead of three thin composite-action wrappers. Reduces 3 files → 1 per repo.

Review workflow uses the Anthropic code-review plugin pattern proven to post
comments in our v1 repos (kontentino/api, supanext/crawler, eu-companies/web).
The composite code-review action's custom-prompt approach generated review text
but never posted it (v1 agent mode requires tool use; the plugin handles it).

Existing composites kept for backward compatibility. Migration plan TBD after
slovenskaznamka-web pilot.
@filippofilip95 filippofilip95 merged commit 62b2a68 into main May 19, 2026
@filippofilip95 filippofilip95 deleted the feat/reusable-workflows branch May 19, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant