-
gitlab project-commit create \
--project-id 123 \
--branch 'main' \
--commit-message '[skip ci] add README.rst' \
--actions '{"action": "create","file_path": "README.rst","content": "test"}' Error: Impossible to create object (400: actions is invalid) What is the correct value for actions here? |
Beta Was this translation helpful? Give feedback.
Answered by
nejch
Jul 27, 2022
Replies: 2 comments
-
@JohannesM sorry for the delay. I think our CLI currently does not yet handle this and sends it as a string rather than proper JSON. Feel free to create an issue from this discussion and we can track it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JohannesM
-
What is the current state? Does the CLI handle this now? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@JohannesM sorry for the delay. I think our CLI currently does not yet handle this and sends it as a string rather than proper JSON. Feel free to create an issue from this discussion and we can track it.