Conversation
Core branches (main/dev) の保護ルールセットを追加。 - ブランチの削除を禁止 - Force push を禁止 - PR 必須(承認数は0でOK) - マージ方法は通常の merge のみ許可 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
WalkthroughGitHub リポジトリに新しいルールセット設定ファイルを追加し、 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 分 Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@github/rulesets/core-branches-protectionruleset.json`:
- Around line 2-6: The JSON includes response-only fields and is missing a
required enforcement field: remove "id", "source", and "source_type" from the
request payload used with the GitHub Rulesets API (they are returned by GitHub,
not sent), ensure when updating you provide the ruleset id in the URL path
rather than in the body, and add the mandatory "enforcement" property with one
of the allowed values ("disabled", "active", or "evaluate") to the ruleset
object (refer to the "id", "source_type", "source" keys and the "enforcement"
field in this file for where to apply the changes).
Remove id, source_type, and source fields which are returned by GitHub API but should not be included in request payloads. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Merged
amotarao
added a commit
that referenced
this pull request
Jan 31, 2026
PR #1 の修正: ファイル名を protectionruleset から protection-ruleset に変更 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Merged
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.
概要
変更内容
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.