diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 11:09:15 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-11 11:09:15 +0300 |
| commit | 07275e060e2ec2acf2bee3d1e3c2fb4bdd976826 (patch) | |
| tree | 620af3d869756788a1a691b96bcb7ef629b73f43 | |
| parent | 38660cdadd1929c53604a8b21e728da2872ddc9b (diff) | |
| parent | 204208b348f24c2119a6eee11c906e1023cd53cf (diff) | |
| download | vyos-documentation-07275e060e2ec2acf2bee3d1e3c2fb4bdd976826.tar.gz vyos-documentation-07275e060e2ec2acf2bee3d1e3c2fb4bdd976826.zip | |
Merge pull request #1980 from vyos/yuriy/ai-validation-pathspec-glob-magic-sagitta
ci(ai-validation, sagitta): pathspec :(glob) magic
| -rw-r--r-- | .github/workflows/ai-validation.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ai-validation.yml b/.github/workflows/ai-validation.yml index b4736fe1..b21d2320 100644 --- a/.github/workflows/ai-validation.yml +++ b/.github/workflows/ai-validation.yml @@ -78,8 +78,8 @@ jobs: # blobs for files that no longer exist in the merge ref. # Deletions still appear in diff-md.patch (full diff) but not # in changed-md.txt (which drives the bundling step). - git diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- 'docs/**/*.md' > changed-md.z - git diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- 'docs/**/*.rst' > changed-rst.z + git diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.md' > changed-md.z + git diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.rst' > changed-rst.z # Reject paths containing line-disrupting control bytes (LF, CR, # other 0x01-0x1F + 0x7F) before generating the newline-delimited # *.txt manifests. NUL itself can't appear in a git pathname @@ -106,7 +106,7 @@ jobs: done tr '\0' '\n' < changed-md.z > changed-md.txt tr '\0' '\n' < changed-rst.z > changed-rst.txt - git diff "$BASE...HEAD" -- 'docs/**/*.md' > diff-md.patch + git diff "$BASE...HEAD" -- ':(glob)docs/**/*.md' > diff-md.patch # Bundle .md files via git's blob store (NOT the filesystem). # The fork's merge ref can contain symlinks (mode 120000) committed # to docs/**/*.md that resolve to absolute paths on the runner. |
