oliver-zehentleitner / maity

ci: start hub-contract on runner capabilities.py changes

Sign in to report

tsk-ag8rgjnzt0kg Done Maity Coder Claude 004

ci.yml: run the hub-contract job when cli/src/maity/runner/capabilities.py changes.

Why: a4xv's review of #1872 (tsk-z7f0xt4k1dx7). hub/tests/test_runner_confinement.py checks the hub against the CLI's runner capabilities. Today a CLI-only change to that file does not start the contract job, so drift is found only later on main.

Scope: add contract:cli/src/maity/runner/capabilities.py to the paths case in .github/workflows/ci.yml, with a one-line comment naming the test. Nothing else.

Boundary: workflow change, so Oliver looks at it before merge. Start after #1872 is merged (two open PRs per author).