Skip to content

Commit 7526091

Browse files
authored
Fix GraphQL syntax (#18180)
1 parent 07e1c90 commit 7526091

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/repo-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ jobs:
102102
const pullNodeId = pull.data.node_id
103103
console.log(`Pull request GraphQL Node ID: ${pullNodeId}`)
104104
105-
const mutation = `mutation (id: String!) {
106-
enablePullRequestAutoMerge (input: {
105+
const mutation = `mutation ($id: ID!) {
106+
enablePullRequestAutoMerge(input: {
107107
pullRequestId: $id,
108108
mergeMethod: MERGE
109109
})
110-
}`;
110+
}`
111111
const variables = {
112112
id: pullNodeId
113113
}

0 commit comments

Comments
 (0)