Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What is the correct action for project-commit create?#2145

Answeredbynejch
JohannesM asked this question inQ&A
Discussion options

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?

You must be logged in to vote
Answered by nejchJul 27, 2022

@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.

Replies: 2 comments

Comment options

@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.

You must be logged in to vote
0 replies
Answer selected byJohannesM
Comment options

What is the current state? Does the CLI handle this now?

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@JohannesM@nejch@spaenigs

[8]ページ先頭

©2009-2025 Movatter.jp