Skip to content

fix(ci): add PR preflight harness#73

Open
rawwerks wants to merge 1 commit into
mainfrom
fix/pr-preflight-harness
Open

fix(ci): add PR preflight harness#73
rawwerks wants to merge 1 commit into
mainfrom
fix/pr-preflight-harness

Conversation

@rawwerks
Copy link
Copy Markdown
Contributor

@rawwerks rawwerks commented May 7, 2026

Summary

  • Add scripts/pr-preflight.sh to fetch origin/main, simulate merging the current HEAD into that base, and run local CI-equivalent checks.
  • Add npm run ci:pr for the CLI test/typecheck/build/audit gate.
  • Wire workflow syntax coverage and document the preflight requirement in AGENTS.md.

Verification

  • bash -n scripts/pr-preflight.sh
  • node --check tools/cli/scripts/audit-policy.mjs
  • actionlint via go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7
  • cd tools/cli && npm ci && npm run ci:pr
  • OpenProse smoke dry-run for required cases
  • ./scripts/pr-preflight.sh

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