Home

Awesome

Ruleset recipes

Starter rulesets are pre-baked to make it easy to get started with repository rules.

What is a ruleset?

A ruleset is a named list of rules that applies to a repository. You can create rulesets to control how people interact with selected branches and tags in a repository. You can control things like who can push commits to a particular branch or who can delete or rename a tag. For example, you could set up a ruleset for your repository's feature branch that requires signed commits and blocks force pushes for all users except repository administrators.

Get cooking

  1. Grab a copy of this repo
  1. To get started, visit your favorite repository or organization you have admin access to.

Video Example

Gif walking through the steps outline above to import a ruleset from a JSON file.

Table of contents

Branch Rulesets

Tag Rulesets