From 35f538a369584107fb7d2b674a4464b3abf3be55 Mon Sep 17 00:00:00 2001 From: p-wysocki Date: Thu, 16 Jan 2025 14:03:04 +0100 Subject: [PATCH] Add yml2 Signed-off-by: p-wysocki --- .github/workflows/assigned_issue_to_column.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/assigned_issue_to_column.yml b/.github/workflows/assigned_issue_to_column.yml index d51cc22fa579a4..5943837f5d7c92 100644 --- a/.github/workflows/assigned_issue_to_column.yml +++ b/.github/workflows/assigned_issue_to_column.yml @@ -58,7 +58,7 @@ jobs: items(first: 100) { nodes { id - title + name } } } @@ -67,10 +67,10 @@ jobs: `; const columnResult = await github.graphql(columnQuery, { projectId }); - const column = columnResult.node.items.nodes.find(f => f.title === columnName); + const column = columnResult.node.items.nodes.find(f => f.name === columnName); if (!column) { - console.log(`Available columns: ${columnResult.node.items.nodes.map(f => f.title).join(', ')}`); + console.log(`Available columns: ${columnResult.node.items.nodes.map(f => f.name).join(', ')}`); throw new Error(`Column "${columnName}" not found`); } @@ -154,7 +154,7 @@ jobs: items(first: 100) { nodes { id - title + name } } } @@ -163,10 +163,10 @@ jobs: `; const columnResult = await github.graphql(columnQuery, { projectId }); - const column = columnResult.node.items.nodes.find(f => f.title === columnName); + const column = columnResult.node.items.nodes.find(f => f.name === columnName); if (!column) { - console.log(`Available columns: ${columnResult.node.items.nodes.map(f => f.title).join(', ')}`); + console.log(`Available columns: ${columnResult.node.items.nodes.map(f => f.name).join(', ')}`); throw new Error(`Column "${columnName}" not found`); }