mirror of
https://github.com/tauri-apps/cef-rs.git
synced 2026-01-31 00:55:21 +01:00
24 lines
469 B
GraphQL
24 lines
469 B
GraphQL
mutation (
|
|
$githubRepository: String!
|
|
$branchName: String!
|
|
$expectedHeadOid: GitObjectID!
|
|
$commitMessage: String!
|
|
$files: [FileAddition!]!
|
|
) {
|
|
createCommitOnBranch(
|
|
input: {
|
|
branch: {
|
|
repositoryNameWithOwner: $githubRepository
|
|
branchName: $branchName
|
|
}
|
|
message: { headline: $commitMessage }
|
|
fileChanges: { additions: $files }
|
|
expectedHeadOid: $expectedHeadOid
|
|
}
|
|
) {
|
|
commit {
|
|
url
|
|
}
|
|
}
|
|
}
|