🚀 Feature: Disable previous main
branch protection in transition mode
#2016
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Milestone
Feature Request Checklist
main
branch of the repository.Overview
As of #1309 -> #1788, this template uses GitHub repository rulesets instead of branch protections. But older repos made with the template may still be using a
main
branch protection.Let's have
blockRepositoryBranchRuleset
send a request to disable any existingmain
branch protection as part of itstransition()
.Additional Info
If possible, it'd be good to disable and not delete the branch protection. Just in case there was something there folks wanted.
🎁
The text was updated successfully, but these errors were encountered: