Skip to content

Commit ca6cc25

Browse files
committed
Straggler commit related to #2145
I have learned the hard way that we need to more fully reverse github_lock_branch() in order to be able to delete a branch later. Learned with a PR branch. Won't come up often IRL because we will mostly lock / unlock `main`. But still better to leave things as we found them.
1 parent 66d0437 commit ca6cc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/github.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ github_unlock_branch <- function(branch = NULL) {
302302
branch = branch,
303303
# required parameters
304304
required_status_checks = NA,
305-
enforce_admins = TRUE,
305+
enforce_admins = FALSE,
306306
required_pull_request_reviews = NA,
307307
restrictions = NA,
308308
# paramater that actually does what we want

0 commit comments

Comments
 (0)