You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Establish one immutable, least-privilege GitHub Actions contract for actively maintained CLI repositories across the connected organizations.
Matrix
Every caller is tested on:
ubuntu-24.04
macos-15
windows-2025
Rust callers
The reusable workflow validates repository-relative inputs, requires a committed lockfile by default, runs formatting, warnings-denied Clippy, all targets, release builds, and executes every binary with --help. A final assertion proves the workflow did not mutate tracked or untracked source state.
Node callers
The workflow supports npm, pnpm, and Yarn with immutable/frozen installs. It runs available format, lint, typecheck, test, and build scripts, requires at least test or build, executes every package.json#bin entry with --help, and proves a clean checkout.
Security boundary
contents: read only;
external Actions pinned by full commit SHA;
checkout credentials are not persisted;
caller working directories are resolved and constrained to the repository;
optional private Git access is supplied only through a dedicated read-only reusable-workflow secret and removed after execution;
no production credentials, deployment behavior, or package publication is included.
Certification
A companion PR in zed-pkg-test/.github exercises both minimal Rust and Node CLI fixtures across all six language/OS combinations before this workflow is merged. Production callers will pin the resulting merge commit rather than this branch.
The accompanying standard documents path-dependency exceptions, test-org certification, duplicate/empty repository handling, and the ban on chat-supplied personal tokens as CI credentials.
Independent test-organization certification is complete at claritas-viz-test/.github#9, head f0539a1ab3de1a1a3f201e5c69f29384e97d61b1.
Run 31269221749 passed all six required jobs:
Node / Windows Server 2025 — 93132263951;
Node / macOS 15 — 93132263980;
Node / Ubuntu 24.04 — 93132263983;
Rust / macOS 15 — 93132264011;
Rust / Ubuntu 24.04 — 93132264014;
Rust / Windows Server 2025 — 93132264017.
Every Rust job passed lockfile validation, formatting, warnings-denied Clippy, all tests, release builds, real executable --help smokes, and the clean-worktree assertion. Every Node job passed immutable npm installation, syntax/lint/test/build scripts, the real CLI entry-point smoke, and the clean-worktree assertion.
Additional production evidence against this exact reusable-workflow head:
claritas-viz/claritas-cli#1 passed all three operating systems in run 31268806413;
file-tunnel/ftnl-cli#1 passed all three operating systems in run 31269012712;
zed-pkg-test/.github#18 passed both Windows language fixtures while its other hosted jobs remained queued.
Repository-local baseline and public-privacy checks are also green at head 5732c20d6741be9faf0c9ec36061ca4cb9f50f97. The workflow is ready to merge and become the immutable fleet pin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Establish one immutable, least-privilege GitHub Actions contract for actively maintained CLI repositories across the connected organizations.
Matrix
Every caller is tested on:
ubuntu-24.04macos-15windows-2025Rust callers
The reusable workflow validates repository-relative inputs, requires a committed lockfile by default, runs formatting, warnings-denied Clippy, all targets, release builds, and executes every binary with
--help. A final assertion proves the workflow did not mutate tracked or untracked source state.Node callers
The workflow supports npm, pnpm, and Yarn with immutable/frozen installs. It runs available format, lint, typecheck, test, and build scripts, requires at least test or build, executes every
package.json#binentry with--help, and proves a clean checkout.Security boundary
contents: readonly;Certification
A companion PR in
zed-pkg-test/.githubexercises both minimal Rust and Node CLI fixtures across all six language/OS combinations before this workflow is merged. Production callers will pin the resulting merge commit rather than this branch.The accompanying standard documents path-dependency exceptions, test-org certification, duplicate/empty repository handling, and the ban on chat-supplied personal tokens as CI credentials.