diff --git a/.github/actions-scripts/projects.js b/.github/actions-scripts/projects.js index 83d255436a..8c96c6f8c6 100644 --- a/.github/actions-scripts/projects.js +++ b/.github/actions-scripts/projects.js @@ -161,8 +161,10 @@ export function generateUpdateProjectNextItemFieldMutation({ function generateMutationToUpdateField({ item, fieldID, value, literal = false }) { const parsedValue = literal ? `value: "${value}"` : `value: ${value}` + // Strip "=" out of the item ID when creating the mutation ID to avoid a GraphQL parsing error + // (statistically, this should still give us a unique mutation ID) return ` - set_${fieldID.substr(1)}_item_${item}: updateProjectNextItemField(input: { + set_${fieldID.substr(1)}_item_${item.replaceAll('=', '')}: updateProjectNextItemField(input: { projectId: $project itemId: "${item}" fieldId: ${fieldID}