Commit 121ac7e
committed
ci: add generated-changes-diff check
Fails a PR (including drafts) when it changes code that should have
triggered make manifests/generate/fmt but the regenerated output was
not committed. Modeled on kaapi's generated-changes-diff workflow,
re-scoped to byoh's own Makefile targets (no helm/airgap/kamaji
equivalents exist here).
Known issue: controller-gen v0.14.0 fails to build under Go 1.26.2 on
a fresh checkout (golang.org/x/tools@v0.16.1's tokeninternal package
no longer compiles against token.FileSet's current internal layout),
so this check will fail on every PR until that's fixed separately.1 parent 8423fdd commit 121ac7e
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments