Skip to content

Commit 4527067

Browse files
committed
GithubHelper: Update Documentation of branch_protection methods
1 parent 04a1e43 commit 4527067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/github_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def self.update_milestone(repository:, number:, options:)
193193
client.update_milestone(repository, number, options)
194194
end
195195

196-
# Unlock a single branch from a repository
196+
# Remove the protection of a single branch from a repository
197197
#
198198
# @param [String] repository The repository name (including the organization)
199199
# @param [String] number The branch name
@@ -204,7 +204,7 @@ def self.remove_branch_protection(repository:, branch:, options:)
204204
client.unprotect_branch(repository, branch_name, options)
205205
end
206206

207-
# Lock a single branch from a repository
207+
# Protects a single branch from a repository
208208
#
209209
# @param [String] repository The repository name (including the organization)
210210
# @param [String] number The branch name

0 commit comments

Comments
 (0)