Protected Branch - CI/CD用語集の定義
protected branchは、変更をmergeする前にrequired checkやreviewなどのルールを強制します。
protected branch とは、更新方法を制限するbranch protectionルールを持つbranch(多くは main)です: required status check、required review、force pushの禁止、削除の禁止。これらのルールがmerge gateを実装します。
Bypassとadmin
ルールは「Do not allow bypassing」によって管理者にも適用できます。これがないと、adminはrequired checkを回避してmergeでき、ゲートを静かに弱めてしまいます。
関連ガイド
Branch Protection Rule - CI/CD Glossary DefinitionBranch Protection Rule: A branch protection rule is one configured policy targeting a branch name pattern: it…
Repository Ruleset - CI/CD Glossary DefinitionRepository Ruleset: A ruleset is GitHub's newer branch and tag protection mechanism: a named collection of ru…
Required Check - CI/CD Glossary DefinitionRequired Check: A required check is a status context or check run that branch protection mandates as green be…