Branch Protection Rule - CI/CD用語集の定義
branch protection ruleとは、一致するbranchに適用される単一のポリシーで、CI checkの通過を要求するなどします。
branch protection rule とは、branch名のパターンを対象とする1つの設定済みポリシーです: checkの要求、reviewの要求、force pushの禁止、線形履歴の要求ができます。ルールは main や release/* のようなパターンに紐付きます。
ruleとrulesetの違い
従来のbranch protection ruleはパターンごとに適用され、重ね合わせが限られています。ruleset は、複数のパターンを対象にし、ルールを重ね、evaluate(dry-run)モードで実行できる、より柔軟な新しいモデルです。
関連ガイド
Protected Branch - CI/CD Glossary DefinitionProtected Branch: A protected branch is a branch (often `main`) with branch protection rules that restrict ho…
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…