zalari/ToggleBranchProtection

Toggle protection for a branch on or off

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
ownerGitHub user or orgyes
repoGitHub repositoryyes
branchbranch for toggling protection, defaults to masternomaster
GITHUB_TOKENGitHub token with sufficient rights, for toggling protectionyes
onEnable branch protection with passed JSON of protection rulesno
offDisable branch protectionno
namedescription
onThe stringified protection rules for re-enabling