import { type BranchProtectionRuleEditedEvent } from "https://deno.land/x/actionify@0.3.0/src/deps/octokit-types.ts";
Activity related to a branch protection rule. For more information, see "About branch protection rules."
Properties
rule: BranchProtectionRule
optional
changes: { admin_enforced?: { from: BranchProtectionRuleBoolean; }; allow_deletions_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel | null; }; allow_force_pushes_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; authorized_actors_only?: { from: BranchProtectionRuleBoolean; }; authorized_actor_names?: { from: BranchProtectionRuleArray; }; authorized_dismissal_actors_only?: { from: BranchProtectionRuleBoolean | null; }; dismiss_stale_reviews_on_push?: { from: BranchProtectionRuleBoolean; }; pull_request_reviews_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; require_code_owner_review?: { from: BranchProtectionRuleBoolean; }; required_approving_review_count?: { from: BranchProtectionRuleNumber; }; required_conversation_resolution_level?: { from: BranchProtectionRuleEnforcementLevel; }; required_deployments_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; required_status_checks?: { from: BranchProtectionRuleArray; }; required_status_checks_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; signature_requirement_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; linear_history_requirement_enforcement_level?: { from: BranchProtectionRuleEnforcementLevel; }; }If the action was edited
, the changes to the rule.
repository: Repository
sender: User
optional
installation: InstallationLiteoptional
organization: Organization