We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4386fed + 7526091 commit c72722bCopy full SHA for c72722b
1 file changed
.github/workflows/repo-sync.yml
@@ -102,12 +102,12 @@ jobs:
102
const pullNodeId = pull.data.node_id
103
console.log(`Pull request GraphQL Node ID: ${pullNodeId}`)
104
105
- const mutation = `mutation (id: String!) {
106
- enablePullRequestAutoMerge (input: {
+ const mutation = `mutation ($id: ID!) {
+ enablePullRequestAutoMerge(input: {
107
pullRequestId: $id,
108
mergeMethod: MERGE
109
})
110
- }`;
+ }`
111
const variables = {
112
id: pullNodeId
113
}
0 commit comments