Coder Social home page Coder Social logo

ruleset-recipes's Introduction

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
  • ⬆️ top click < > Code
  • Pick your favorite way to clone, like GitHub CLI, or download the ZIP.
  1. To get started, visit your favorite repository or organization you have admin access to.
  • Head to ⚙️Settings > Rules > Rulesets
  • Select New Ruleset > Import a ruleset
  • Browse to your local clone of the ruleset-recipes you want to import
  • Review the imported ruleset and save your changes!
  • Success! 🎉

Video Example

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

Table of contents

Branch Rulesets

Tag Rulesets

ruleset-recipes's People

Contributors

patrick-knight avatar siminapasat avatar

Stargazers

Ericka Ramos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.