Skip to content

feat: extract and test pre-commit-autoupdate diff parsing#39

Merged
blink1073 merged 2 commits into
Calysto:mainfrom
blink1073:strip-quotes
May 18, 2026
Merged

feat: extract and test pre-commit-autoupdate diff parsing#39
blink1073 merged 2 commits into
Calysto:mainfrom
blink1073:strip-quotes

Conversation

@blink1073

Copy link
Copy Markdown
Contributor

Summary

  • Extracts the inline diff-parsing loop from pre-commit-autoupdate/action.yml into a standalone parse_diff.sh script
  • Strips single and double quotes from captured version strings
  • Adds test_parse_diff.sh covering unquoted, single-quoted, and double-quoted rev values
  • Adds test_pre_commit_config.yaml sample config with all three quote styles
  • Wires Test parse_diff.sh into the test_scripts job in tests.yml

Move inline diff-parsing logic to parse_diff.sh, add tests covering
unquoted, single-quoted, and double-quoted rev strings, and wire the
test into the tests workflow.
@blink1073
blink1073 enabled auto-merge (squash) May 18, 2026 19:52
@blink1073
blink1073 merged commit c1b3002 into Calysto:main May 18, 2026
23 checks passed
@blink1073
blink1073 deleted the strip-quotes branch May 18, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant