Skip to content

docs: back up branch protection ruleset configuration - #16

Merged
k-rister merged 2 commits into
mainfrom
add-ruleset-backups
Aug 5, 2026
Merged

docs: back up branch protection ruleset configuration#16
k-rister merged 2 commits into
mainfrom
add-ruleset-backups

Conversation

@k-rister

@k-rister k-rister commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/rulesets/README.md and .github/rulesets/branches/{default-branch,releases}.json, backing up the two rulesets already active on this repo (fetched live from the GitHub API, metadata stripped)
  • Fix the new-repo skill's fork-check.yaml template, which was missing the synchronize/edited trigger types and the issues/pull-requests write permissions: block that every actual repo in the org has

Found during an org-wide audit of standard repo files/protections: live rulesets and team permissions were already correctly configured here, but the backup/documentation files were never committed. While fixing that gap in other repos (tool-bpf, packrat), found the skill's own template was stale compared to what's actually deployed everywhere.

Note: fork-check.yaml is intentionally not being added to this repo in this PR — its only workflow (run-crucible-tracking) doesn't consume org secrets or run untrusted PR content, so the fork-check guard doesn't apply here.

🤖 Generated with Claude Code

Adds .github/rulesets/README.md and branches/{default-branch,releases}.json,
documenting the two rulesets already active on this repo. Matches the
standard tracking pattern used across the org; this repo had the live
rulesets but never got the backup files.
@k-rister k-rister self-assigned this Aug 5, 2026
@k-rister
k-rister requested a review from a team August 5, 2026 19:00
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking Aug 5, 2026
The documented template was missing the synchronize/edited trigger
types and the explicit issues/pull-requests write permissions block
that every repo in the org actually has. Discovered while bringing
tool-bpf, packrat, and others into compliance with this skill's
documented standard -- the live repos were right, the doc was stale.

@atheurer atheurer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruleset backups match the standard pattern already verified in tool-bpf/tool-power. The SKILL.md fork-check.yaml template fix (adding synchronize/edited triggers + issues/pull-requests permissions) brings it in line with the actual deployed workflow I verified byte-for-byte in packrat, tool-power, and tool-sysstat. LGTM.

@k-rister
k-rister merged commit 27ad572 into main Aug 5, 2026
@k-rister
k-rister deleted the add-ruleset-backups branch August 5, 2026 19:23
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants