Skip to content

fix(cli): regenerate cli-reference.mdx after PR mode decouple#3290

Merged
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:fix/regenerate-cli-reference-3289
Jul 15, 2026
Merged

fix(cli): regenerate cli-reference.mdx after PR mode decouple#3290
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:fix/regenerate-cli-reference-3289

Conversation

@migmartri

@migmartri migmartri commented Jul 15, 2026

Copy link
Copy Markdown
Member

What

Regenerates app/cli/documentation/cli-reference.mdx to match the --pr flag help text change from #3289.

Why

PR #3289 decoupled PR mode from latest promotion, changing the --pr flag description from:

mark this attestation as a pull/merge request build (skips latest promotion and sets the chainloop.dev/is-pull-request annotation; ...)

to:

mark this attestation as a pull/merge request build (sets the chainloop.dev/is-pull-request annotation; ...)

The generated CLI documentation (cli-reference.mdx) was not regenerated, causing the ent/contrib/ci generated-code check to fail on main:

##[error]Generated code not checked in. Run go generate ./...

Fix

Ran go generate ./... in app/cli/documentation/. Only cli-reference.mdx changed — the --pr flag line now matches the updated help text.

🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri

Review in cubic

@migmartri migmartri requested a review from a team July 15, 2026 16:48

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

PR chainloop-dev#3289 changed the --pr flag help text but didn't regenerate the
CLI documentation, causing the ent CI generated-code check to fail.

Run go generate ./... in app/cli/documentation to sync cli-reference.mdx.

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri force-pushed the fix/regenerate-cli-reference-3289 branch from 688b62d to c224076 Compare July 15, 2026 16:49
@migmartri migmartri merged commit 73fc15b into chainloop-dev:main Jul 15, 2026
12 of 13 checks passed
@migmartri migmartri deleted the fix/regenerate-cli-reference-3289 branch July 15, 2026 16:50
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.

2 participants