How github/ruleset-recipes works
Project type and purpose
• This is an open-source “recipes” repository containing JSON files (rulesets) designed to be imported into GitHub to configure branch, tag, and push protection policies.
• It’s not a running application—you don’t have services or microservices here—but rather a collection of configuration artifacts plus documentation and demos.
File structure
• Top-level files: README.md, LICENSE, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md
• Three main directories of JSON “recipes”:
• branch-rulesets/
• tag-rulesets/
• push-rulesets/
• A fourth directory (universe-demos/) provides demo files to showcase combined rules.
• No code or binaries; everything is JSON configuration, intended to be consumed by GitHub’s import endpoint.
README for additional insights
• Describes the concept of a ruleset and how to “import” these JSON files via GitHub’s UI or CLI.
• Contains links to individual recipes and a short visual gif demonstrating the import flow.