Skip to content

[FEAT]: Support team/user slugs in github_repository_environment reviewersΒ #2848

@edersonbrilhante

Description

@edersonbrilhante

Describe the need

Right now, the github_repository_environment resource only accepts numeric IDs for reviewers:

  reviewers {
    teams = [data.github_user.devops.id]
  }

It would be much easier if it supported team slugs and user logins instead:

reviewers {
  teams = ["devops", "security"]
  users = ["jdoe", "asmith"]
}

This would make configurations more readable and portable, without needing extra data sources like:

data "github_team" "devops" {
  slug = "devops"
}

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

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions