From 6e12ff3c767ab4754c8231bc7a1bae2402fb9b88 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 21 Jul 2026 08:19:30 -0400 Subject: [PATCH 1/2] feat: require docs check on sharp-mud, via per-repo override MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sharp-mud's docs workflow now always runs on PRs (skipping the real build fast when irrelevant) specifically so it's safe to require — see LayeredCraft/sharp-mud#12. Org-default contexts only list "build / build", so this repo needs its own override to add "docs" without affecting every other repo. Co-Authored-By: Claude Sonnet 5 --- safe-settings/repos/sharp-mud.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 safe-settings/repos/sharp-mud.yml diff --git a/safe-settings/repos/sharp-mud.yml b/safe-settings/repos/sharp-mud.yml new file mode 100644 index 0000000..90d80df --- /dev/null +++ b/safe-settings/repos/sharp-mud.yml @@ -0,0 +1,17 @@ +branches: + - name: main + protection: + required_status_checks: + strict: true + contexts: + - "build / build" + - "docs" + required_pull_request_reviews: + dismissal_restrictions: {} + dismiss_stale_reviews: true + require_code_owner_reviews: true + required_approving_review_count: 1 + enforce_admins: false + restrictions: null + required_linear_history: true + required_signatures: false From 352b4d4166654dcf66fa1aeb1c86c104b50a603e Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 21 Jul 2026 08:25:14 -0400 Subject: [PATCH 2/2] fix: shrink sharp-mud override to just the added context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit safe-settings merges required_status_checks.contexts across org/repo levels by default (org-level contexts fold into repo-level, not replaced), so repeating build / build and the whole rest of the protection block here was redundant duplication of settings.yml — only the net-new "docs" context belongs in this file. Co-Authored-By: Claude Sonnet 5 --- safe-settings/repos/sharp-mud.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/safe-settings/repos/sharp-mud.yml b/safe-settings/repos/sharp-mud.yml index 90d80df..3db5a04 100644 --- a/safe-settings/repos/sharp-mud.yml +++ b/safe-settings/repos/sharp-mud.yml @@ -2,16 +2,5 @@ branches: - name: main protection: required_status_checks: - strict: true contexts: - - "build / build" - "docs" - required_pull_request_reviews: - dismissal_restrictions: {} - dismiss_stale_reviews: true - require_code_owner_reviews: true - required_approving_review_count: 1 - enforce_admins: false - restrictions: null - required_linear_history: true - required_signatures: false