Skip to content

ci: hasna/models has no GitHub Actions workflow — add a test+typecheck - #9

Open
andrei-hasna wants to merge 1 commit into
mainfrom
factory/41e57872-8ab7-4f2a-a225-a7dc29a2-242cabb3
Open

ci: hasna/models has no GitHub Actions workflow — add a test+typecheck#9
andrei-hasna wants to merge 1 commit into
mainfrom
factory/41e57872-8ab7-4f2a-a225-a7dc29a2-242cabb3

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Objective

CI: hasna/models has no GitHub Actions workflow — add a test+typecheck gate on pull_request

This repo has no GitHub Actions workflow at all — there is no automated gate on pull requests, so nothing catches a broken build or a failing test before merge.

Add a minimal, correct CI workflow at .github/workflows/ci.yml for open-models (github.com/hasna/models). Trigger on push and pull_request to the default branch. Use actions/checkout and oven-sh/setup-bun; run bun install --frozen-lockfile (fall back to bun install if there is no lockfile), then ONLY the scripts that actually exist in package.json among typecheck / build / test — skip any that are absent, do not invent scripts.

Keep it minimal and GREEN: if a script exists but is already failing on the default branch, do not paper over it — either scope the workflow to the scripts that pass and say so in the PR body, or fix the failure if it is trivial and clearly in scope.

Verify: confirm the workflow file parses (valid YAML, correct action refs) and that each command you reference is a real script in package.json.

Scope: the workflow file only, optionally a CI badge line in README. Do NOT modify product code. Open a PR against the default branch; do not merge.

Verification

  • policy source: base a22e758 (immutable commit — agent-proof)
  • ⚠️ GATE-INTEGRITY: agent touched verify-bearing config — REVIEW (.github/workflows/ci.yml)
  • containment: env — allowlist env, non-login shell, run-scoped HOME (registry auth seeded for install)
  • install: pass
  • typecheck: pass
  • build: pass
  • test: pass
  • doctor (ci): ok — 11 checks passed (1 advisory)

Run run_342f7a321266 · backend codewith · task 41e57872-8ab7-4f2a-a225-a7dc29a2566a
🏭 Generated by @hasnaxyz/factory


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

CI: hasna/models has no GitHub Actions workflow — add a test+typecheck gate on pull_request

This repo has no GitHub Actions workflow at all — there is no automated gate on pull requests, so nothing catches a broken build or a failing test before merge.

Add a minimal, correct CI workflow at .github/workflows/ci.yml for open-models (github.com/hasna/models). Trigger on push and pull_request to the default branch. Use actions/checkout and oven-sh/setup-bun; run `bun install --frozen-lockfile` (fall back to `bun install` if there is no lockfile), then ONLY the scripts that actually exist in package.json among typecheck / build / test — skip any that are absent, do not invent scripts.

Keep it minimal and GREEN: if a script exists but is already failing on the default branch, do not paper over it — either scope the workflow to the scripts that pass and say so in the PR body, or fix the failure if it is trivial and clearly in scope.

Verify: confirm the workflow file parses (valid YAML, correct action refs) and that each command you reference is a real script in package.json.

Scope: the workflow file only, optionally a CI badge line in README. Do NOT modify product code. Open a PR against the default branch; do not merge.

X-Factory-Run: run_342f7a321266
X-Factory-Task: 41e57872-8ab7-4f2a-a225-a7dc29a2566a
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