From 8fefee9b02d43669d376e67458a938466342148c Mon Sep 17 00:00:00 2001 From: Ekaterina Gerasimova Date: Thu, 9 Dec 2021 22:49:46 +0000 Subject: [PATCH] Fix graphql warning in issue automation workflow Fixes #4671 --- .github/workflows/triage-move-labelled.yml | 10 +++++----- changelog.d/4671.misc | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 changelog.d/4671.misc diff --git a/.github/workflows/triage-move-labelled.yml b/.github/workflows/triage-move-labelled.yml index ef3a0ab688..67c4e9dbab 100644 --- a/.github/workflows/triage-move-labelled.yml +++ b/.github/workflows/triage-move-labelled.yml @@ -34,7 +34,7 @@ jobs: with: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | - mutation add_to_project($projectid:String!,$contentid:String!) { + mutation add_to_project($projectid:ID!,$contentid:ID!) { addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { projectNextItem { id @@ -59,7 +59,7 @@ jobs: # with: # headers: '{"GraphQL-Features": "projects_next_graphql"}' # query: | -# mutation add_to_project($projectid:String!,$contentid:String!) { +# mutation add_to_project($projectid:ID!,$contentid:ID!) { # addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { # projectNextItem { # id @@ -82,7 +82,7 @@ jobs: with: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | - mutation add_to_project($projectid:String!,$contentid:String!) { + mutation add_to_project($projectid:ID!,$contentid:ID!) { addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { projectNextItem { id @@ -105,7 +105,7 @@ jobs: with: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | - mutation add_to_project($projectid:String!,$contentid:String!) { + mutation add_to_project($projectid:ID!,$contentid:ID!) { addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { projectNextItem { id @@ -128,7 +128,7 @@ jobs: with: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | - mutation add_to_project($projectid:String!,$contentid:String!) { + mutation add_to_project($projectid:ID!,$contentid:ID!) { addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { projectNextItem { id diff --git a/changelog.d/4671.misc b/changelog.d/4671.misc new file mode 100644 index 0000000000..1d2282038e --- /dev/null +++ b/changelog.d/4671.misc @@ -0,0 +1 @@ +Fix graphql warning in issue workflow automation