项目
在 GitHub 查看
github/ruleset-recipes
关于
使用预构建且可直接导入的规则集,快速开始使用 Repository Rules。
其他项目实测星标增长
- 24小时
- +1
- 7天
- +3
- 15天
- +6
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
- Grab a copy of this repo
- ⬆️ top click
< > Code - Pick your favorite way to clone, like GitHub CLI, or download the ZIP.
- 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
Table of contents
Branch Rulesets
- Branch protection best practices
- Require Pull Requests and conventional commits
- Organization ruleset: One Rule to rule them all
Tag Rulesets
探索相关项目
加载中…