Skip to content

ci: pin idempotent package publish template#7

Merged
Jess Sullivan (Jesssullivan) merged 1 commit into
mainfrom
codex/tin713-idempotent-publish-template
Apr 29, 2026
Merged

ci: pin idempotent package publish template#7
Jess Sullivan (Jesssullivan) merged 1 commit into
mainfrom
codex/tin713-idempotent-publish-template

Conversation

@Jesssullivan

Copy link
Copy Markdown
Contributor

Pins the shared js-bazel-package workflow to the TIN-713 idempotent publish template.

This keeps existing package publishes from failing when npmjs or GitHub Packages already has the same version.
Proof run: tinyland-inc/tinyland-stores/actions/runs/25092503866.

@greptile-apps

greptile-apps Bot commented Apr 29, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the pinned commit SHA for the shared js-bazel-package.yml reusable workflow from 82308d06 to f23f67b0, pointing to the idempotent publish template introduced in TIN-713. The change ensures that publish jobs do not fail when npmjs or GitHub Packages already contains the target version — no other workflow inputs or secrets are modified.

Confidence Score: 5/5

Safe to merge — minimal, targeted SHA bump with no logic changes.

The change is a single-line SHA update to a pinned reusable workflow, aligned with the stated goal of idempotent publishing. No logic, secrets, or inputs are altered, and a proof run is referenced in the PR description.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/publish.yml Single-line change: updates the pinned SHA of the shared js-bazel-package.yml workflow to the idempotent publish template commit; all other inputs and secrets are unchanged.

Sequence Diagram

sequenceDiagram
    participant GH as GitHub (release / workflow_dispatch)
    participant PW as publish.yml (this repo)
    participant CT as ci-templates js-bazel-package.yml@f23f67b0
    participant NPM as npmjs
    participant GHPKG as GitHub Packages

    GH->>PW: Trigger (published release or manual dispatch)
    PW->>CT: Call reusable workflow (idempotent publish template)
    CT->>CT: Build, typecheck, test (pnpm)
    CT->>NPM: Publish (skip if version already exists)
    CT->>GHPKG: Publish (skip if version already exists)
    CT-->>PW: Success (idempotent — no failure on duplicate version)
Loading

Reviews (1): Last reviewed commit: "ci: pin idempotent package publish templ..." | Re-trigger Greptile

@Jesssullivan Jess Sullivan (Jesssullivan) merged commit e1e82bf into main Apr 29, 2026
5 checks passed
@Jesssullivan Jess Sullivan (Jesssullivan) deleted the codex/tin713-idempotent-publish-template branch April 29, 2026 05:53
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.

1 participant