From 3861f7ac431073702ce6d8e21a752134056ffb27 Mon Sep 17 00:00:00 2001 From: Sal Date: Wed, 19 Aug 2026 23:53:51 +0100 Subject: [PATCH] fix: use GraphQL ids in project reconciliation --- .github/workflows/project-reconcile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/project-reconcile.yml b/.github/workflows/project-reconcile.yml index ba5a65bc5..c6feaafe8 100644 --- a/.github/workflows/project-reconcile.yml +++ b/.github/workflows/project-reconcile.yml @@ -63,15 +63,15 @@ jobs: nodes { id content { - ... on Issue { url node_id title repository { nameWithOwner } } - ... on PullRequest { url node_id title repository { nameWithOwner } } + ... on Issue { url id title repository { nameWithOwner } } + ... on PullRequest { url id title repository { nameWithOwner } } } } } } } }' -f project="${project_id}" -f cursor="${cursor}")" - jq -c '.data.node.items.nodes[] | select(.content != null) | {item_id: .id, url: .content.url, node_id: .content.node_id, title: .content.title, repository: .content.repository.nameWithOwner}' <<<"${response}" >> project-items.ndjson + jq -c '.data.node.items.nodes[] | select(.content != null) | {item_id: .id, url: .content.url, node_id: .content.id, title: .content.title, repository: .content.repository.nameWithOwner}' <<<"${response}" >> project-items.ndjson if [[ "$(jq -r '.data.node.items.pageInfo.hasNextPage' <<<"${response}")" != 'true' ]]; then break fi