Skip to content

[DOCS]: actor_id value for OrganizationAdmin is 0, not 1 #2717

@tj-smith47

Description

@tj-smith47

Describe the need

Documentation on this page incorrectly reports the actor_id value for OrganizationAdmin incorrectly. After adding a ruleset using 1, the next plan reported a bunch of replacements updating the existing value of 0 to 1. Changing this in the module to 0 made these changes go away.

SDK Version

No response

API Version

No response

Relevant log output

~ resource "github_repository_ruleset" "require_push_approval" {
      id          = "[redacted]"
      name        = "Require push approval"
      # (6 unchanged attributes hidden)

    ~ bypass_actors {
        ~ actor_id    = 0 -> [integration_id]
        ~ actor_type  = "OrganizationAdmin" -> "Integration"
          # (1 unchanged attribute hidden)
      }
    ~ bypass_actors {
        ~ actor_id    = [integration_id] -> 1
        ~ actor_type  = "Integration" -> "OrganizationAdmin"
          # (1 unchanged attribute hidden)
      }

      # (2 unchanged blocks hidden)
  }

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: DocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    🆕 Triage

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions