jvandemo / jvandemo/copy-github-labels

Host and Protocol options no longer supported by octokit

Open
#19 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
84
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Trying to copy labels between enterprise GH repos and receive errors on the options passed.

DEPRECATED (@octokit/rest): protocol option is no longer supported
DEPRECATED (@octokit/rest): host option is no longer supported
[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4
DEPRECATED (@octokit/rest): `issues.getLabels()` is deprecated, use `issues.listLabelsForRepo()`
DEPRECATED (@octokit/rest): error.toJSON() – use `error.code`, `error.status`, `error.message` instead
1: Could not copy label: {"code":406,"message":""}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.