Aident logoAident logo centerAident Loadout
Use CasesPricingDocs
ENStart Now
AppsGitHub ToolsGithub Update A Repository Ruleset
GitHub Tools

Github Update A Repository Ruleset

Updates an existing repository ruleset, identified by `ruleset_id` for a given repository, allowing partial updates to its configuration such as name, target, enforcement, bypass actors, conditions, and rules.

Write actionRisk level 2 of 5OAuth connection
Use Github Update A Repository Ruleset

Pricing and limits

Aident logo

Product

Aident LoadoutAident Playbook EditorOpen-CUAK

About

AppsSkillsUse CasesDocsBlogPricingDownloadsPrivacy PolicyTerms of Service

Alternatives

vs Composiovs Zapier
llms.txtGet an AI summary of Aident LoadoutSummarize with ChatGPTSummarize with ClaudeSummarize with GeminiSummarize with Perplexity

© Aident Labs, 2024-2026

Pricing
Free
Unified payment
Not currently supported

Inputs

  • namestring
    The new name for the ruleset.
  • repostring
    Required
    The name of the repository without the `.git` extension. This name is not case sensitive.
  • ownerstring
    Required
    The account owner of the repository. This name is not case sensitive.
  • rulesstring
    String representing rules to enforce. Each rule has a `type` and optional `parameters` (e.g., `[{'type': 'creation'}, {'type': 'pull_request', 'parameters': {'required_approving_review_count': 2}}]`). Accepts both JSON format with double quotes or Python list syntax with single…
  • targetstring
    The target of the ruleset (e.g., branch or tag).
  • ruleset_idinteger
    Required
    The unique identifier of the existing ruleset to be updated.
  • enforcementstring
    Specifies the enforcement level: `disabled` (ruleset is ignored), `active` (ruleset is enforced), or `evaluate` (allows testing rules before enforcement - GitHub Enterprise only).
  • bypass_actorsstring
    String representing actors that can bypass ruleset. Each actor specifies `actor_id`, `actor_type` (`RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`), and `bypass_mode` (`always`, `pull_request`). Accepts both JSON format with double quotes or Python list syntax with…
  • conditions__ref__name__excludearray
    Ref names or patterns (fnmatch-style globs) to exclude. The ruleset will not apply if any of these patterns match.
  • conditions__ref__name__includearray
    Ref names or patterns (fnmatch-style globs) to include for the ruleset to apply. `~DEFAULT_BRANCH` targets the default branch; `~ALL` targets all branches.

Observable output

  • data
    Required
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Required
    Whether or not the action execution was successful or not

Skills that use this Action

Related use cases

No verified related use cases are linked yet.

Official source

Provider source

Skills that use this Action

No published Skills explicitly reference this Action yet.