Skip to content

Commit ddbb4bf

Browse files
committed
Fix project automation
Signed-off-by: hossainemruz <[email protected]>
1 parent 2ae15e5 commit ddbb4bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/project-automation-issue.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
107107
# Set the "Type" field to appropriate option
108108
gh api graphql -f query='
109-
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) {
109+
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) {
110110
updateProjectNextItemField(input: {
111111
projectId: $project
112112
itemId: $item
@@ -136,7 +136,7 @@ jobs:
136136
fi
137137
138138
gh api graphql -f query='
139-
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) {
139+
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) {
140140
updateProjectNextItemField(input: {
141141
projectId: $project
142142
itemId: $item

.github/workflows/project-automation-pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
110110
# Set the "Type" field to appropriate option
111111
gh api graphql -f query='
112-
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) {
112+
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) {
113113
updateProjectNextItemField(input: {
114114
projectId: $project
115115
itemId: $item
@@ -153,7 +153,7 @@ jobs:
153153
echo 'PR_STATUS='$OPTION_ID >> $GITHUB_ENV
154154
155155
gh api graphql -f query='
156-
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) {
156+
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) {
157157
updateProjectNextItemField(input: {
158158
projectId: $project
159159
itemId: $item
@@ -204,7 +204,7 @@ jobs:
204204
205205
# Update the Issue Status
206206
gh api graphql -f query='
207-
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) {
207+
mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) {
208208
updateProjectNextItemField(input: {
209209
projectId: $project
210210
itemId: $item

0 commit comments

Comments
 (0)