Files
Serena Ruan 3cd67bc0ca docs(releases): narrative, prose-driven website release posts (#2764)
* docs(releases): reformat website release posts in MLflow narrative style

The website /releases/<version> post was a verbatim mechanical mirror of the
GitHub Release body (emoji bullets). Reformat it into the narrative, prose-driven
style of mlflow.org/releases, while leaving the GitHub Release notes untouched.

- New release-post-formatter agent rewrites the curated release body into an
  intro summary + numbered prose feature sections (no emoji), preserving every
  PR ref and inventing nothing. Same tools-less security posture as
  release-notes-drafter.
- publish-changelog.yml gains the LLM machinery to run it, degrading to the raw
  release body on any failure, plus a workflow_dispatch dry_run mode that renders
  and prints the page (log + job summary) without minting a token or opening a PR.
- release_to_mdx.py adds MLflow-style site chrome the release body can't carry: a
  byline (date + read time + author) and a "What's Next" footer. Keeps the exact
  _Released <date>_ token the site index reads.

Co-authored-by: Isaac
Signed-off-by: Serena Ruan <serena.rxy@gmail.com>

* refactor(ci): extract shared LLM-runner into a composite action

The publish-changelog release-post formatter reused ~150 lines of the
draft-release-notes LLM machinery (uv, venv cache, Claude CLI, provider config,
agent run, output secret-scan) verbatim. Extract it into a
.github/actions/run-omnigent-agent composite action and call it from both
workflows, so the runner scaffold lives in one place.

- The action takes a workdir input so it works whether the repo is checked out
  at the workspace root (draft-release-notes) or in an omnigent/ subdir
  (publish-changelog), driving the venv path, cache key, and uv --project/agent
  paths off it.
- The action now always secret-scans the agent output when it runs (gated by the
  caller's creds check), instead of the old outcome=='success' gate that also
  skipped the scan when the step was skipped.
- Callers keep their own prompt-build, output-extract/fallback, and artifact
  redaction; only the shared scaffold moved.

Co-authored-by: Isaac
Signed-off-by: Serena Ruan <serena.rxy@gmail.com>

---------

Signed-off-by: Serena Ruan <serena.rxy@gmail.com>
2026-07-17 11:29:06 +08:00
..