Repository navigation
Fix docs claiming main is protected - #3
Merged
Merged
Conversation
Organization が GitHub Free プラン かつ Private Repository のため、 Branch Protection / Rulesets を有効化できないことが判明した(API は 403)。 しかし README・02-rules・実習1 は「mainは保護されている」「直接Pushは拒否される」 と断言しており、実態と食い違っていた。特に実習1 Step 11.5 は直接Pushを 試させる手順だったため、そのままでは main に空Commitが入り研修環境が壊れる。 - README: 保護されていない旨と、ルールとして守る必要があることを明記 - docs/02-rules.md: Rule 2 を「実務ではこうなる」+「ここでは保護されていない」に分離 - exercises/01-clone-to-pr.md: Step 11.5 を実演からスキップ指示に変更 - .github/ISSUE_TEMPLATE/training.yml: 対応するチェック項目を修正 - docs/admin-setup.md: 制約の詳細と、有効化するための2つの選択肢を記録 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
52 of 64 tasks
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.
What
教材が「
mainはBranch Protectionで保護されている / 直接Pushは拒否される」と断言していた箇所を、実態に合わせて修正しました。Why
Branch Protection を設定しようとしたところ、403 で拒否されました。
{"message": "Upgrade to GitHub Pro or make this repository public to enable this feature.", "status": "403"}Organization
Lumos-Programmingが GitHub Free プラン、このRepositoryが Private のためです。Rulesets も同様に利用できません。特に危険だったのが実習1の Step 11.5 です。「
mainへ直接Pushを試して、拒否されることを確認する」という手順でしたが、実際には保護されていないため Pushが成功してmainに空Commitが入り、研修環境が壊れます。Changes
README.md: 保護されていない事実と、ルールとして各自が守る必要があることを明記docs/02-rules.md: Rule 2 を「実務ではこう守られる」と「ここでは保護されていない」に分離exercises/01-clone-to-pr.md: Step 11.5 を実演からスキップ指示に変更.github/ISSUE_TEMPLATE/training.yml: 対応するチェック項目を修正docs/admin-setup.md: 制約の詳細と、有効化するための2つの選択肢(Public化 / Teamプラン)を記録How to Test
Check
git diffを見て、不要な変更が入っていないことを確認したRelated
Refs #2
Branch Protection を有効にする場合は、この変更を一部元に戻す必要があります。手順と判断材料は
docs/admin-setup.mdに記載しました。