Pin mentions are matched case-insensitively with an optional port, a nested path and no tag, so a mis-spelled or untagged pin is reported instead of ignored. The Dockerfile COPY/ADD reader raises an error naming file and line on a source with a variable, quote or comment character and on a RUN --mount of the build context, and joins continuation lines with trailing blanks. A non-UTF-8 diff path and an empty image.yml get their own messages, lint.yml is a required consumer, the success line lists the consumers checked, and the docstring states the known limits. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
10 lines
640 B
YAML
10 lines
640 B
YAML
trivial:
|
|
- >-
|
|
Add scripts/check_image_versions.py and its tests, and run them in the Lint workflow:
|
|
image pins must name an image of the build matrix, and a pull request that changes an
|
|
image's inputs must bump its version.
|
|
- >-
|
|
scripts/check_image_versions.py reports a pin written in any case, with a port, in a nested path or without a tag; fails closed (naming
|
|
file and line) on a Dockerfile COPY source with a variable, quote or comment character and on a RUN --mount of the build context; says so
|
|
for a non-UTF-8 diff path and an empty image.yml; requires lint.yml and lists the consumer files it checked.
|