Skip to content

Commit 540826f

Browse files
committed
Allow renaming a label
When renaming a label, the new name must be passed as `new_name`: https://docs.github.com/en/rest/reference/issues#update-a-label
1 parent e23bcf6 commit 540826f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github_api/client/issues/labels.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Github
66
class Client::Issues::Labels < API
77

8-
VALID_LABEL_INPUTS = %w[ name color description ].freeze
8+
VALID_LABEL_INPUTS = %w[ name color description new_name ].freeze
99

1010
# List all labels for a repository
1111
#

0 commit comments

Comments
 (0)