Skip to content

infra-k8s-preview: no-op when no k8s paths changed (main) - #51

Merged
daanpersoons merged 1 commit into
mainfrom
fix/preview-empty-paths-main
Aug 6, 2026
Merged

infra-k8s-preview: no-op when no k8s paths changed (main)#51
daanpersoons merged 1 commit into
mainfrom
fix/preview-empty-paths-main

Conversation

@daanpersoons

Copy link
Copy Markdown
Contributor

Same fix as #49 (into main): guard the preview diff loop against empty changed_paths so PRs touching no k8s/** don't fail with touch diff-new/: No such file or directory.

Empty changed_paths ran one empty loop iteration (here-string), so touch diff-new/
failed on PRs touching no k8s/. Early-exit + skip empty paths.
@ernest-app ernest-app Bot added the 📃 XS PR label Aug 6, 2026
@daanpersoons
daanpersoons merged commit c5e2c2b into main Aug 6, 2026
1 check passed
@daanpersoons
daanpersoons deleted the fix/preview-empty-paths-main branch August 6, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant