Skip to content

[FEAT]: github_repository_ruleset - support bypass_mode "exempt"Β #2755

@audunsolemdal

Description

@audunsolemdal

Describe the need

https://github.blog/changelog/2025-09-10-github-ruleset-exemptions-and-repository-insights-updates/

this is now the recommended approach for bot users. The idea behind it is to reduce spam in the audit signals where bypassing is expected.

E.g.

resource "github_repository_ruleset" "example" {
  name        = "example"
  repository  = github_repository.example.name

  bypass_actors {
    actor_id    = 13473
    actor_type  = "Integration"
    bypass_mode = "exempt" # new enum
  }
}

SDK Version

No response

API Version

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: FeatureNew feature or request

    Type

    No type

    Projects

    Status

    πŸ†• Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions