Skip to content

[BUG]: patterns_allowed in github_actions_organization_permissions doesn't clear up the list when set to [] #2680

Open
@saimak15

Description

@saimak15

Expected Behavior

patterns_allowed = [] should update the Github UI with no patterns

Actual Behavior

When patterns_allowed = ["actions/cache@*", "actions/checkout@*"] is changed to patterns_allowed = [] , it doesn't clear up the list on Github UI, although terraform plan shows it will be changed.

Although, Github API is able to clear the list.

Terraform Version

Terraform v1.11.1
on darwin_arm64

  • provider registry.terraform.io/integrations/github v6.6.0

Affected Resource(s)

  • github_actions_organization_permissions

Terraform Configuration Files

Steps to Reproduce

$ terraform apply

Debug Output

Panic 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: BugSomething isn't working as documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions