Skip to content

[TEST] yaml-diff: newly added file#137

Closed
weatherhog wants to merge 1 commit into
mainfrom
test/yaml-diff-added-file
Closed

[TEST] yaml-diff: newly added file#137
weatherhog wants to merge 1 commit into
mainfrom
test/yaml-diff-added-file

Conversation

@weatherhog

Copy link
Copy Markdown
Contributor

Throwaway test PR for the yaml-diff bot rollout — roadmap#4121. Do not merge; close after verifying.

What this tests

A brand-new YAML file is added (git status A). There's no base content to diff against.

Expected

  • yaml-diff bot comment lists the new file path with (Added — see file diff in PR for content) rather than a dyff (dyff-against-/dev/null is intentionally avoided).

A newly added (status A) YAML file. The yaml-diff bot has no base
content to diff against, so it should show the path with the
"(Added — see file diff in PR for content)" note rather than a dyff.
Throwaway test PR for roadmap#4121.
@github-actions

Copy link
Copy Markdown

Semantic YAML source diff — key reordering without value changes is ignored.

Output

=== management-clusters/MC_NAME/organizations/ORG_NAME/workload-clusters/WC_NAME_OUT_OF_BAND_FLUX_APP/out-of-band/configmaps/added-test-configmap.yaml ===
(Added — see file diff in PR for content)

Suppress with /no_diffs_printing on its own line in the PR body or as a comment.

@github-actions

Copy link
Copy Markdown
Validation output log
yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK

yamllint: OK
kubeconform: OK


@github-actions

Copy link
Copy Markdown
Rendered manifest diff output log

No diff detected

@weatherhog

Copy link
Copy Markdown
Contributor Author

Closing — throwaway Phase-1 verification PR for roadmap#4121. All the work it exercised is merged: the yaml-diff bot, the SOPS-exclusion fix (giantswarm/github-workflows#231), colour output (#232), and the CI extraction (#233 + #139). Key-ordering removal is in #140.

@weatherhog weatherhog closed this Jul 2, 2026
@weatherhog weatherhog deleted the test/yaml-diff-added-file branch July 2, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant