github-action
github-action copied to clipboard
delete_crowdin_branch fails if branch name contains a space
Describe the bug
Trying to cleanup orphaned crowdin branches when PRs are merged/closed, but it fails if the branch name contains a space:
STARTING CROWDIN ACTION
REMOVING BRANCH [prefix] feature.foobar
Unmatched argument at index 3: 'feature.foobar'
SYNOPSIS:
crowdin branch delete <name> [CONFIG OPTIONS] [OPTIONS]
[...]
To Reproduce
A workflow like:
- name: crowdin action
uses: crowdin/[email protected]
with:
upload_sources: false
create_pull_request: false
download_translations: false
push_translations: false
delete_crowdin_branch: "[prefix] foobar"
Expected behavior
Delete the crowdin branch.
@weakfl thanks for the report, already looking into that.
@DimaYashchyshyn any update regarding this issue?
@weakfl we're still reviewing this
Thanks @andrii-bodnar, tested and working.