Skip to content

Commit

Permalink
Use copy_branch_protection instead of set_branch_protection
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Jun 17, 2024
1 parent d20a7bf commit a378a5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fastlane/lanes/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@

push_to_git_remote(tags: false)

set_branch_protection(repository: GHHELPER_REPO, branch: "release/#{new_version}")
copy_branch_protection(
repository: GHHELPER_REPO,
from_branch: DEFAULT_BRANCH,
to_branch: "release/#{new_version}"
)
set_milestone_frozen_marker(repository: GHHELPER_REPO, milestone: new_version)
end

Expand Down

0 comments on commit a378a5e

Please sign in to comment.