mirror of
https://fastgit.cc/github.com/Yeachan-Heo/oh-my-claudecode
synced 2026-04-20 21:00:50 +08:00
The workflow was failing because the final check depended on Claude CLI print-mode behavior and secrets availability instead of validating the installed SessionStart hook directly. This change switches the final step to repo-owned hook wiring and script execution checks so push and pull_request runs exercise the upgrade path without external runtime assumptions. Constraint: Validation must avoid Claude CLI and work on pull_request events without secrets Rejected: Keep as the trigger | brittle in headless CI and unavailable on pull_request Confidence: high Scope-risk: narrow Directive: If hook output contract changes, update the JSON assertion here before reintroducing any CLI-based smoke test Tested: python3 YAML parse of .github/workflows/upgrade-test.yml; git diff --check -- .github/workflows/upgrade-test.yml Not-tested: Full GitHub Actions execution of upgrade-test workflow