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 tinyland-inc/ci-templates reusable workflow from 82308d0 to f23f67b, targeting the idempotent publish variant that gracefully handles already-published package versions on npmjs and GitHub Packages. The change is isolated to a single line in .github/workflows/publish.yml and continues the good practice of referencing a full commit SHA rather than a mutable tag.

Confidence Score: 5/5

Safe to merge — single-line SHA bump to a named idempotent workflow template with no logic changes.

The PR makes exactly one change: updating a pinned full-commit SHA in a reusable-workflow reference. Pinning to a specific SHA is the recommended security practice, and the new SHA targets a well-described idempotent publish template backed by a proof run. No secrets, permissions, or build logic are touched.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/publish.yml Bumps the pinned SHA for the reusable js-bazel-package workflow to the idempotent publish template (TIN-713); no other changes.

Sequence Diagram

sequenceDiagram
    participant GH as GitHub (release / workflow_dispatch)
    participant PY as publish.yml
    participant CT as ci-templates js-bazel-package (f23f67b – idempotent)
    participant NPM as npmjs
    participant GHP as GitHub Packages

    GH->>PY: trigger (release published or manual)
    PY->>CT: uses reusable workflow @ f23f67b
    CT->>CT: build / test / typecheck
    CT->>NPM: publish (skip if version exists)
    CT->>GHP: publish (skip if version exists)
Loading

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

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