Files
ironclaw/.github
Illia Polosukhin e0c029c796 ci: validate Cargo.toml version before use in Docker workflows (#1901) (#2742)
* ci: validate Cargo.toml version before use in Docker workflows (#1901)

Reject Cargo.toml versions that don't match strict semver before they
reach any shell context, and stop splicing `${{ }}` expressions directly
into `run:` blocks in Summary steps — pass values via `env:` and
reference as shell variables instead. Also validate `inputs.tag`
against Docker tag grammar in docker.yml.

Closes #1901

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: reject SemVer build metadata in Docker workflow version validator

Docker tags forbid '+', so accepting SemVer build metadata in the
validator would pass values like '1.2.3+build.7' through only to fail
at docker push. Tighten the regex to MAJOR.MINOR.PATCH[-prerelease] and
spell out the constraint in the error message.

Addresses PR #2742 review feedback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 00:03:43 +09:00
..