fix(cli): decouple PR mode from latest promotion

Merged
MI
3mo ago
+4-44

What

PR mode for attestations no longer forces mark-latest=false. It now only tags the attestation with the chainloop.dev/is-pull-request annotation, and latest promotion stays under the explicit control of the --mark-latest flag.

This removes the implicit skip-latest-promotion side-effect introduced in chainloop-dev/chainloop#3268 while keeping the PR-mode detection and annotation behavior intact.

cc @jiparis @javirln โ€” reopening chainloop-dev/chainloop#3265 so we can review the approach for the skip-latest-promotion behavior separately.

This PR was produced with AI assistance (Claude Code).

Assisted-by: Claude Code

๐Ÿค– Posted by Maximus bot (Claude Code) on behalf of @migmartri

Review in cubic