Skip to content

feat: add GitHub Actions init and PR annotations - #11

Merged
bm1016bm-svg merged 1 commit into
mainfrom
codex/v0.4.1-init-annotations
Aug 4, 2026
Merged

feat: add GitHub Actions init and PR annotations#11
bm1016bm-svg merged 1 commit into
mainfrom
codex/v0.4.1-init-annotations

Conversation

@bm1016bm-svg

Copy link
Copy Markdown
Owner

What changed

  • add evidrift init --github-actions with npm, pnpm, and Yarn detection
  • create an idempotent read-only pull-request workflow and pinned evidrift:check package script
  • preserve conflicting user-owned scripts and workflow files
  • add escaped GitHub error/warning annotations with affected file and line
  • keep --format json machine-readable by writing annotations to stderr in JSON mode
  • align package, CLI, Action, and MCP Registry metadata at 0.4.1

Why

Repository setup previously required manual package-script and workflow edits, while CI failures were visible only in logs. This makes first adoption one command and surfaces deterministic drift directly in pull-request checks.

Validation

  • npm run verify
  • 96/96 tests passed with 0 failures and 0 skips
  • end-to-end smoke test passed
  • node scripts/verify-release.mjs v0.4.1
  • git diff --check

The local Windows run does not claim that the pending Linux/Node 22 GitHub Actions matrix or a live GitHub annotation has passed.

Trust impact

The initializer rejects unsafe workflow paths and never overwrites conflicting user-owned configuration. GitHub workflow command properties and data are escaped; JSON stdout remains a standalone machine-readable report. ReproMin and Receipt semantics are unchanged.

@bm1016bm-svg
bm1016bm-svg merged commit 6af2749 into main Aug 4, 2026
4 checks passed
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