docs: document branch protection rules for main#24
Merged
Conversation
- on-end-distill.sh: pass JSON as argv instead of pipe+heredoc conflict - init.sh: remove unused CLAUDE_SETTINGS_LOCAL variable Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Branch Protection section to CLAUDE.md describing the protect-main GitHub Ruleset (PR required, CI gate, linear history, no force push). Add coupling comment to ci.yml warning that the job name is referenced by the ruleset. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
masuda-so
added a commit
that referenced
this pull request
May 10, 2026
* fix: resolve ShellCheck SC2259 and SC2034 CI failures - on-end-distill.sh: pass JSON as argv instead of pipe+heredoc conflict - init.sh: remove unused CLAUDE_SETTINGS_LOCAL variable Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: remove cascading unused CLAUDE_SETTINGS_DIR variable (SC2034) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: document branch protection rules for main Add Branch Protection section to CLAUDE.md describing the protect-main GitHub Ruleset (PR required, CI gate, linear history, no force push). Add coupling comment to ci.yml warning that the job name is referenced by the ruleset. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
## Branch Protectionsection to CLAUDE.md documenting theprotect-mainGitHub Ruleset.github/workflows/ci.ymlwarning that the job name is referenced by the rulesetContext
Created the
protect-mainruleset (ID 14985776) on themainbranch with:Test plan
gh apimain: deletion, non_fast_forward, pull_request, required_linear_history, required_status_checks