diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 01:11:54 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 01:11:54 +0300 |
| commit | f6ef27d087a4cae08b122e73b7c46771d1a6764b (patch) | |
| tree | 5f8c04c9c21201d62c6795aa678bf3c62d4b4228 /docs/_include/draw.io | |
| parent | 41967202c380114f5c042f410393f6a07e174109 (diff) | |
| download | vyos-documentation-f6ef27d087a4cae08b122e73b7c46771d1a6764b.tar.gz vyos-documentation-f6ef27d087a4cae08b122e73b7c46771d1a6764b.zip | |
ci(ai-validation): skip Pass 1/2 when PR has no .md changes
actions/upload-artifact silently omits empty directories. On a PR that
changes no docs/**/*.md (workflow tweaks, README edits, config), the
prepare job's _changed_md/ ends up empty and is dropped from the
artifact. The validate job downloads the artifact, then "Pass 1 —
deterministic checks" tries to start with `working-directory:
_changed_md`, which doesn't exist, and bash fails before any in-step
short-circuit can run.
Surface a `has_md_changes` output from prepare based on whether
changed-md.txt is non-empty, and gate Pass 1 + Pass 2 on it. When the
flag is false, both review steps skip cleanly with no failure noise.
Affects all infrastructure-only PRs (CI changes, workflow updates,
config tweaks). Same failure was visible on the in-flight backports
of update-version-tags hardening (#1965, #1966) which are pure
workflow changes.
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/_include/draw.io')
0 files changed, 0 insertions, 0 deletions
