INNER CODE UNIT · TypeScript

currentLabels

buildship-ai/buildship · integration/github/octo-kit-add-label/index.ts:19

    const currentLabels = issue.data.labels.map(label => label.name);
    const newLabels = [...currentLabels, ...labels];
    await octokit.rest.issues.update({
        owner,
        repo,
        issue_number,
        labels: newLabels
    });
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…