Skip to content

v0.6.0 — reliable CI & developer feedback (ref normalisation fix, Job Summary) - #7

Merged
geyutu6755 merged 3 commits into
mainfrom
release/v0.6.0
Nov 7, 2026
Merged

geyutu6755 merged 3 commits into
mainfrom
release/v0.6.0

Conversation

@geyutu6755

Copy link
Copy Markdown
Owner

Summary

  • P0 ref normalisation fix: the composite action now correctly handles refs/tags/, refs/heads/, bare tags/branches, and full commit SHAs. Shell injection and path traversal in the ref are rejected. The caller's github.ref is never used (only github.action_ref).
  • GITHUB_STEP_SUMMARY: professional Markdown summary in the GitHub Actions UI showing target, version, findings by severity, compare results, gate result, report artifact reference, observation timeouts, and coverage warnings. All scanned-site text HTML-escaped.
  • Action structure tests: 21 new tests covering ref normalisation, Job Summary content, security guards, and artifact privacy.

Verification

181/181 tests, npm audit 0, docs-CLI consistency guard 7/7.

…tion guard), Job Summary, action structure tests

- action.yml ref handling: proper refs/tags/* and refs/heads/* stripping,
  40-char SHA detection with full clone + git checkout, shell injection
  guard, path traversal guard, explicit empty-ref error, checked-out commit
  verification. Caller github.ref is NOT used (only github.action_ref).
- GITHUB_STEP_SUMMARY: professional Markdown summary with target/version/
  findings table, severity breakdown, compare results (new/resolved/
  persistent + coverage warning), gate result with reasoning, report artifact
  reference. All scanned-site text HTML-escaped; long values truncated;
  observation timeouts reported; generated even when scan fails.
- action structure tests: 21 (v0.5.1) + 21 (v0.6.0) = 33 total
- gate semantics integration tests: 6 total
- 160/160 tests green, npm audit 0
@geyutu6755
geyutu6755 merged commit d85046a into main Nov 7, 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