Skip to content

Label rename doesn't work #120

@jvalkeal

Description

@jvalkeal

I simply get an error Cannot rename "test" label: Not Found.

current_name: label.from_name,

Looking above call, shouldn't parameters be like in an api docs:

await octokit.request('PATCH /repos/{owner}/{repo}/labels/{name}', {
  owner: 'octocat',
  repo: 'hello-world',
  name: 'name',
  new_name: 'new_name'
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions