Skip to content

Instantly share code, notes, and snippets.

@lukateras
Created March 7, 2024 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukateras/f6f55cd771cd7d36ad9797a6830ad770 to your computer and use it in GitHub Desktop.
Save lukateras/f6f55cd771cd7d36ad9797a6830ad770 to your computer and use it in GitHub Desktop.
GitHub append-only default branch ruleset
{
"id": 502185,
"name": "permadef",
"target": "branch",
"source_type": "Repository",
"source": "lukateras/lukateras",
"enforcement": "active",
"conditions": {
"ref_name": {
"exclude": [],
"include": [
"~DEFAULT_BRANCH"
]
}
},
"rules": [
{
"type": "deletion"
},
{
"type": "non_fast_forward"
},
{
"type": "required_linear_history"
},
{
"type": "required_signatures"
}
],
"bypass_actors": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment