Skip to content
Proyek

github/ruleset-recipes

Lihat di GitHub

Tentang

Mulai gunakan Repository Rules dengan cepat melalui kumpulan aturan siap impor yang telah disiapkan.

Proyek lainnya

Cara angka ini diukur

537 bintang159 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+3
dalam 15 hari
+6
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…