Skip to content

fix: JSON fallback and description length#8

Closed
shenxianpeng wants to merge 3 commits into
mainfrom
feature/use-json-output-and-pin-version
Closed

fix: JSON fallback and description length#8
shenxianpeng wants to merge 3 commits into
mainfrom
feature/use-json-output-and-pin-version

Conversation

@shenxianpeng
Copy link
Copy Markdown
Member

Changes

  1. JSON-first with text fallback — tries --format json, falls back to awk/sed parsing for older CLI versions (the flag is not yet in PyPI)
  2. description — shortened to under 125 characters per GitHub Actions requirement
  3. (carried from feat: consume JSON output, add cli-version input #7) cli-version input, @v1 recommendation, reproducibility docs

- Action now uses dm config --format json instead of awk/sed text parsing
- Add cli-version input to pin CLI version for reproducible results
- README recommends @v1 instead of @main
- Add Reproducibility section to README
The --format json flag is not yet in the published CLI. Until the CLI
release, the action tries JSON first and falls back to awk/sed text
parsing for older CLI versions.
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