Sitelet https://github.com/temporalio/cli/compare/main...Duncanma:cli:main
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: temporalio/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Duncanma/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 14, 2026

  1. Block pre-release CLI versions from triggering docs updates

    trigger-docs.yml fired on release `published`, which GitHub sends for
    pre-releases too. v1.9.0-rc.1 (run #38) and v1.9.0 published as a
    pre-release (run #39) both dispatched update-cli-docs.yml in
    temporalio/documentation; run #38 opened an unwanted docs PR.
    
    Switch to `released`, which fires on a direct full-release publish and
    on a pre-release-to-release promotion, but never for a pre-release.
    Add a job-level gate that also rejects drafts and side-channel tags
    (v1.8.3-server-1.32.0-162.0, v1.7.4-standalone-nexus-operations,
    v1.6.3-serverless, and similar) built from feature branches, as
    defense in depth behind the event-type change. workflow_dispatch stays
    exempt so docs can still be backfilled on demand.
    Duncanma committed Sep 14, 2026
    Configuration menu
    Copy the full SHA
    ff22aab View commit details
    Browse the repository at this point in the history
  2. Source the release tag from the release payload, not github.ref_name

    github.ref_name resolves to the selected branch on a manual dispatch,
    not a tag: run #37 dispatched cli_release_tag=main to
    temporalio/documentation. Add a required release_tag input for
    workflow_dispatch, and source RELEASE_TAG from the release payload's
    tag_name on the release event or from the new input on dispatch.
    Duncanma committed Sep 14, 2026
    Configuration menu
    Copy the full SHA
    d38acdf View commit details
    Browse the repository at this point in the history
  3. Move interpolated values into env: instead of run: bodies

    secrets.GITHUB_TOKEN and the get_user step outputs were interpolated
    directly into run: blocks, unlike github.actor in the same file, which
    already goes through env:. Route them the same way to avoid shell
    injection from a value GitHub Actions doesn't sanitize before
    substitution.
    Duncanma committed Sep 14, 2026
    Configuration menu
    Copy the full SHA
    c5eae4c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2026

  1. Skip docs generation for a release that isn't the latest

    prerelease/draft/tag-shape don't rule out a hotfix to an older minor
    line (patching v1.7.x after v1.8.0 is already GA, for example) — that's
    a real full release, but generating docs from it would overwrite the
    newer version's command reference.
    
    The release payload has no "is latest" field (confirmed against the
    live API: a release object exposes prerelease/draft/tag_name/etc., but
    nothing about latest status), so compare the tag against
    GET /releases/latest instead, in a step rather than the job-level `if:`
    since expressions can't make API calls. workflow_dispatch stays exempt,
    consistent with the existing gate: backfilling an older tag on purpose
    is a deliberate choice, not something to second-guess.
    Duncanma committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    5039847 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb50511 View commit details
    Browse the repository at this point in the history
Loading