Files
Kamino/docs/contributing
Defame1297 2d1f142662 ci(molecule): skip the Molecule runner when no scenario is selected
A pull request that selects no scenario still took the single Molecule
runner slot to pull the controller image, select nothing and exit.

The workflow now has three jobs. select runs the selector from main's
copy in a job container on kamino-docker, in the molecule-controller pin,
and outputs the selected list. scenarios runs it on kamino-molecule and
is skipped when the list is empty. result runs always() and is the one
job to require: it fails unless select passed and scenarios passed or
was skipped for an empty list, because Gitea counts a skipped job as
passing. Scheduled and dispatched runs still select every scenario.

container.image cannot read env, so the controller pin is written in all
three jobs; a test holds the copies equal. The pin moves to 0.1.1, which
has git for the select job's checkout. Branch protection must then
require "Molecule / Result (pull_request)".

Closes #433

Assisted-by: Claude Code
2026-12-01 23:20:01 +00:00
..