Skip to content

Commit

Permalink
GH Project Action: Fix clean labels bug (rancher#10873)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac authored Apr 25, 2024
1 parent a5748b9 commit a6039e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/pr-gh-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async function removeZubeLabels(issue) {
const currentLabels = issue.labels.map((v) => v.name);
let cleanLabels = issue.labels.filter(l => l.name.indexOf('[zube]') === -1);

cleanLabels = cleanLabels.map((v) => v.name());
cleanLabels = cleanLabels.map((v) => v.name);

// Turn the array of labels into just their names
console.log(' Removing Zube labels:');
Expand Down

0 comments on commit a6039e6

Please sign in to comment.