{"id":15048157,"url":"https://github.com/github/ruleset-recipes","last_synced_at":"2025-05-16T12:07:42.610Z","repository":{"id":199741862,"uuid":"680303902","full_name":"github/ruleset-recipes","owner":"github","description":"Quickstart your use of Repository Rules with prebuilt rulesets ready to import. ","archived":false,"fork":false,"pushed_at":"2025-02-12T18:06:43.000Z","size":42,"stargazers_count":261,"open_issues_count":1,"forks_count":62,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-03T14:09:00.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-18T21:17:20.000Z","updated_at":"2025-03-30T17:48:00.000Z","dependencies_parsed_at":"2023-10-12T02:54:58.973Z","dependency_job_id":"6e6d3ef1-8a8a-4585-8047-9c6af2bcfb37","html_url":"https://github.com/github/ruleset-recipes","commit_stats":null,"previous_names":["github/ruleset-recipes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fruleset-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fruleset-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fruleset-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fruleset-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/ruleset-recipes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525601,"owners_count":21118705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T21:08:49.568Z","updated_at":"2025-04-12T06:20:27.715Z","avatar_url":"https://github.com/github.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Ruleset recipes\nStarter rulesets are pre-baked to make it easy to get started with [repository rules](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets).\n\n## What is a ruleset?\n\nA 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.\n\n## Get cooking\n1. Grab a copy of this repo\n - ⬆️ top click `\u003c \u003e Code`\n - Pick your favorite way to clone, like [GitHub CLI](https://cli.github.com/), or download the ZIP.    \n2. To get started, visit your favorite repository or organization you have admin access to.\n - Head to ⚙️Settings \u003e Rules \u003e Rulesets\n - Select New Ruleset \u003e Import a ruleset\n - Browse to your local clone of the ruleset-recipes you want to import\n - Review the imported ruleset and save your changes!\n - Success! 🎉\n\n### Video Example\n![Gif walking through the steps outline above to import a ruleset from a JSON file.](https://github.com/github/release-assets/assets/7575792/8806fa8c-b874-4a4e-97ef-4f8c238f4d29)\n\n# Table of contents\n## Branch Rulesets\n- [Branch protection best practices](https://github.com/github/ruleset-recipes/blob/a1f8e53ec12857637e8762e689a3abc255ff2c2f/branch-rulesets/were-just-normal-repositories.json)\n- [Require Pull Requests and conventional commits](https://github.com/github/ruleset-recipes/blob/8cd19a8e06e6e523fffd43e4a59a554c210dcbe2/branch-rulesets/PRs%20and%20commits.json)\n- [Organization ruleset: One Rule to rule them all](https://github.com/github/ruleset-recipes/blob/8cd19a8e06e6e523fffd43e4a59a554c210dcbe2/branch-rulesets/org-rulesets/one-ruleset-to-rule-them-all.json)\n## Tag Rulesets\n- [Prevent Tag Deletions](https://github.com/github/ruleset-recipes/blob/a1f8e53ec12857637e8762e689a3abc255ff2c2f/tag-rulesets/prevent-tag-delete.json)\n- [Organization ruleset: requiring semantic versioning and prevents deletion for all tags](https://github.com/github/ruleset-recipes/blob/ac4b5ebc05219bb07de10f6094ad9ae8215bd39c/tag-rulesets/org-ruleset/tag-defaults.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fruleset-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fruleset-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fruleset-recipes/lists"}