From ddbb4bf7ce12de7e4c627d44efce2a059afadd4e Mon Sep 17 00:00:00 2001 From: hossainemruz Date: Mon, 16 May 2022 22:07:28 +0600 Subject: [PATCH] Fix project automation Signed-off-by: hossainemruz --- .github/workflows/project-automation-issue.yaml | 4 ++-- .github/workflows/project-automation-pr.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/project-automation-issue.yaml b/.github/workflows/project-automation-issue.yaml index 31169c652..a257eaeda 100644 --- a/.github/workflows/project-automation-issue.yaml +++ b/.github/workflows/project-automation-issue.yaml @@ -106,7 +106,7 @@ jobs: # Set the "Type" field to appropriate option gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -136,7 +136,7 @@ jobs: fi gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item diff --git a/.github/workflows/project-automation-pr.yaml b/.github/workflows/project-automation-pr.yaml index 9d805896e..3d8e93600 100644 --- a/.github/workflows/project-automation-pr.yaml +++ b/.github/workflows/project-automation-pr.yaml @@ -109,7 +109,7 @@ jobs: # Set the "Type" field to appropriate option gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -153,7 +153,7 @@ jobs: echo 'PR_STATUS='$OPTION_ID >> $GITHUB_ENV gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -204,7 +204,7 @@ jobs: # Update the Issue Status gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item