コンテンツにスキップ

Rules

BranchProtection(旧)Rulesets(新)
同時適用1つのみ複数を重ねて適用可能
適用対象ブランチのみブランチ・タグ・リポジトリ全体
組織全体への適用不可可能
Evaluate モードなしあり(適用前に影響を確認できる)
Bypass の細かい制御粗いチーム・ロール単位で精密に設定可能
Terminal window
gh api repos/aucnet-dev/terraform-mars/rulesets | jq '.[] | {id, name, enforcement}'
Terminal window
gh api repos/aucnet-dev/terraform-mars/rulesets/<ID> | jq .
Terminal window
gh api --method DELETE repos/aucnet-dev/terraform-mars/rulesets/<ID>