Skip to content

Add GitHub rulesets and merge queue skill and migration prompt - #81

Merged
rmkr-dev merged 2 commits into
mainfrom
skillbook/github-rulesets-merge-queue
Oct 30, 2026
Merged

rmkr-dev merged 2 commits into
mainfrom
skillbook/github-rulesets-merge-queue

Conversation

@rmkr-dev

Copy link
Copy Markdown
Owner

Adds a Skillbook entry and a matching Promptbook entry for keeping branch and tag protection in the repo as rulesets, with reliable required checks and an optional merge queue.

  • Skill github-rulesets-merge-queue-guardrails: classic protection vs rulesets comparison; rulesets stored as JSON or Terraform and applied from reviewed changes; default-branch rules (no deletion or force push, stale-review dismissal, code owners, last-push approval, thread resolution); required checks named by exact job and pinned to the GitHub Actions app; an always-running gate job instead of path-filtered required workflows; merge_group triggers and queue settings; protected release tags; minimal pull_request-mode bypass; App tokens for automation; staged migration; weekday drift detection.
  • Prompt migrate-branch-protection-to-rulesets: exports current rules, inventories checks, fixes workflows first, writes default-branch and release-tag ruleset files (plus Terraform if used), adds apply and drift workflows, and proves that failing, unapproved, force-pushed, and tag-moving changes are blocked. It outputs commands to review and never applies rules itself.

Catalogs go to 45 skills and 45 prompts. node scripts/site-check.mjs passes locally.

@rmkr-dev
rmkr-dev merged commit ebcedc9 into main Oct 30, 2026
1 check passed
@rmkr-dev
rmkr-dev deleted the skillbook/github-rulesets-merge-queue branch October 30, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant