Skip to content

Commit

Permalink
Add yml2
Browse files Browse the repository at this point in the history
Signed-off-by: p-wysocki <[email protected]>
  • Loading branch information
p-wysocki committed Jan 16, 2025
1 parent 53c70ff commit 35f538a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/assigned_issue_to_column.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
items(first: 100) {
nodes {
id
title
name
}
}
}
Expand All @@ -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`);
}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
items(first: 100) {
nodes {
id
title
name
}
}
}
Expand All @@ -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`);
}
Expand Down

0 comments on commit 35f538a

Please sign in to comment.