Skip to content

✨ feat: fold checklist validation into body action#9

Merged
zrr1999 merged 1 commit into
mainfrom
fix/archive-action-builds-and-checklist-validation
May 22, 2026
Merged

✨ feat: fold checklist validation into body action#9
zrr1999 merged 1 commit into
mainfrom
fix/archive-action-builds-and-checklist-validation

Conversation

@zrr1999

@zrr1999 zrr1999 commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fold checked PR checklist validation into zendev-validate-body behind a --require-checklist option.
  • Add matching validate-body action inputs (require-checklist, checklist-section, and fail-on-empty-checklist) and remove the separate validate-checklist action path.
  • Configure a hatch-vcs fallback version so bundled GitHub Action archive checkouts can build with uvx --from without consumer workflows setting SETUPTOOLS_SCM_* environment variables.

Validation

  • prek run
  • prek run --all-files
  • uv run pytest -q
  • uvx ruff check
  • uv run pyright
  • uvx ty check .
  • Archive checkout smoke test: uvx --from /tmp/zendev-archive-sim2 zendev-validate-title "📝 docs: test"
  • Archive checkout checklist smoke test: uvx --from /tmp/zendev-archive-sim2 zendev-validate-body ... --require-checklist
  • git diff --cached --check

Notes

After this is released, downstream repos can use only actions/validate-body with require-checklist: "true"; they should not need zendev packaging-specific environment variables.

@zrr1999
zrr1999 merged commit b4ec684 into main May 22, 2026
6 checks passed
@zrr1999
zrr1999 deleted the fix/archive-action-builds-and-checklist-validation branch May 22, 2026 17:23
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