Skip to content

Conversation

@marla-hoggard
Copy link
Collaborator

@marla-hoggard marla-hoggard commented Oct 6, 2025

Overview

  • Updates the CLI version used by this github action to v5.x.
  • Adds a new flag, pull-from-legacy, which allows users to indicate that they want to use the legacy pull command/config file in order to continue pulling from their legacy projects
  • Users with both new and legacy projects can create two separate workflows, one with and one without the flag, pointing to two different ditto directories

Note: This cannot be released until this CLI PR, adding support for the -m flag has landed: dittowords/cli#127

Testing

As far as I know, we don't have a way to test this github action before it's been merged. We have an internal testing repo, but that requires the version it points to to have been released already. So, please do a thorough code review and proof on the README, and then we'll release this and test it in the testing repo.

{
"name": "ditto-github-action",
"version": "0.3.1",
"version": "1.0.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change (and points to a new major version of the CLI), so I have bumped the version all the way up.

Copy link

@poteat poteat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine, for github actions it seems most expedient method is to test it by running it!

@marla-hoggard marla-hoggard merged commit 3ef880b into main Oct 6, 2025
@marla-hoggard marla-hoggard deleted the marla/dit-11523-support-cli-v5 branch October 6, 2025 17:57
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.

3 participants