venh/Set-Branch-Protection

Custom GitHub action based on Node.js to automatically apply branch protection rules.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
tokenThis should have Admin privileges or should be an Org Level Owneryes
orgThe name of your GitHub organizationyes
rulesPathThe path of the rules json file for branch protectionyes./rules.json
includedReposPathPath of the file with repos (newline) to be included for optionally applying branch protection. If not provided, all repos will be considered.
excludedReposPathPath of the file with repos (newline separated) to be excluded for branch protection. This is optional.
actionSet or Add or Delete Branch protection. Default is set.yesset

no outputs