From 510d181dbf51b1f797502c2e14570e8dbf9e60e4 Mon Sep 17 00:00:00 2001 From: Ryan Inch Date: Tue, 16 Jun 2026 00:31:39 -0400 Subject: [PATCH] Add a folder for storing GitHub rulesets and add the issue triage rulesets to it Why: so that we have a place to store rulesets and the rulesets can be easily imported to new repositories and to serve as a source of truth. --- ... Triage Branch Protections 2026-06-08.json | 37 +++++++++++++++++++ ...sue Triage Tag Protections 2026-06-08.json | 37 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 ruleset-exports/Issue Triage Branch Protections 2026-06-08.json create mode 100644 ruleset-exports/Issue Triage Tag Protections 2026-06-08.json diff --git a/ruleset-exports/Issue Triage Branch Protections 2026-06-08.json b/ruleset-exports/Issue Triage Branch Protections 2026-06-08.json new file mode 100644 index 0000000..3dddd88 --- /dev/null +++ b/ruleset-exports/Issue Triage Branch Protections 2026-06-08.json @@ -0,0 +1,37 @@ +{ + "id": 15235882, + "name": "Issue Triage Branch Protections", + "target": "branch", + "source_type": "Repository", + "source": "Hubs-Foundation/.github", + "enforcement": "active", + "conditions": { + "ref_name": { + "exclude": [], + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "deletion" + }, + { + "type": "non_fast_forward" + }, + { + "type": "creation" + }, + { + "type": "update" + } + ], + "bypass_actors": [ + { + "actor_id": 10594833, + "actor_type": "Team", + "bypass_mode": "exempt" + } + ] +} \ No newline at end of file diff --git a/ruleset-exports/Issue Triage Tag Protections 2026-06-08.json b/ruleset-exports/Issue Triage Tag Protections 2026-06-08.json new file mode 100644 index 0000000..d7ab466 --- /dev/null +++ b/ruleset-exports/Issue Triage Tag Protections 2026-06-08.json @@ -0,0 +1,37 @@ +{ + "id": 15236348, + "name": "Issue Triage Tag Protections", + "target": "tag", + "source_type": "Repository", + "source": "Hubs-Foundation/.github", + "enforcement": "active", + "conditions": { + "ref_name": { + "exclude": [], + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "deletion" + }, + { + "type": "non_fast_forward" + }, + { + "type": "creation" + }, + { + "type": "update" + } + ], + "bypass_actors": [ + { + "actor_id": 10594833, + "actor_type": "Team", + "bypass_mode": "exempt" + } + ] +} \ No newline at end of file